summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/javascript-compiler.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2014-12-27 12:58:28 -0600
committerkpdecker <kpdecker@gmail.com>2014-12-27 12:58:28 -0600
commitb474630c7dc96f7a4e56c3530a89920e13bf26d4 (patch)
tree2193d302b091fa07ee38b45b7b6c841911027476 /lib/handlebars/compiler/javascript-compiler.js
parentf1470505133377223db6d3e6f4e30d5665e7f23e (diff)
downloadhandlebars.js-b474630c7dc96f7a4e56c3530a89920e13bf26d4.zip
handlebars.js-b474630c7dc96f7a4e56c3530a89920e13bf26d4.tar.gz
handlebars.js-b474630c7dc96f7a4e56c3530a89920e13bf26d4.tar.bz2
Strip unnecessary whitespace in template output
Diffstat (limited to 'lib/handlebars/compiler/javascript-compiler.js')
-rw-r--r--lib/handlebars/compiler/javascript-compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/javascript-compiler.js b/lib/handlebars/compiler/javascript-compiler.js
index 2e1108c..247f5e0 100644
--- a/lib/handlebars/compiler/javascript-compiler.js
+++ b/lib/handlebars/compiler/javascript-compiler.js
@@ -263,7 +263,7 @@ JavaScriptCompiler.prototype = {
}
if (varDeclarations) {
- this.source.prepend('var ' + varDeclarations.substring(2) + (appendFirst ? '' : ';\n '));
+ this.source.prepend('var ' + varDeclarations.substring(2) + (appendFirst ? '' : ';\n'));
}
return this.source.merge();