diff options
author | kpdecker <kpdecker@gmail.com> | 2014-12-27 12:58:28 -0600 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2014-12-27 12:58:28 -0600 |
commit | b474630c7dc96f7a4e56c3530a89920e13bf26d4 (patch) | |
tree | 2193d302b091fa07ee38b45b7b6c841911027476 | |
parent | f1470505133377223db6d3e6f4e30d5665e7f23e (diff) | |
download | handlebars.js-b474630c7dc96f7a4e56c3530a89920e13bf26d4.zip handlebars.js-b474630c7dc96f7a4e56c3530a89920e13bf26d4.tar.gz handlebars.js-b474630c7dc96f7a4e56c3530a89920e13bf26d4.tar.bz2 |
Strip unnecessary whitespace in template output
-rw-r--r-- | lib/handlebars/compiler/javascript-compiler.js | 2 |
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(); |