summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/javascript-compiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlebars/compiler/javascript-compiler.js')
-rw-r--r--lib/handlebars/compiler/javascript-compiler.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/handlebars/compiler/javascript-compiler.js b/lib/handlebars/compiler/javascript-compiler.js
index bc9636c..dc77ef6 100644
--- a/lib/handlebars/compiler/javascript-compiler.js
+++ b/lib/handlebars/compiler/javascript-compiler.js
@@ -504,9 +504,9 @@ JavaScriptCompiler.prototype = {
this.push(helper.name + ' || ' + nonHelper);
this.replaceStack(function(name) {
- return name + ' ? ' + name + '.call(' +
- helper.callParams + ") " + ": helperMissing.call(" +
- helper.helperMissingParams + ")";
+ return name + ' ? '
+ + name + '.call(' + helper.callParams + ") "
+ + " : helperMissing.call(" + helper.helperMissingParams + ")";
});
},
@@ -843,7 +843,7 @@ JavaScriptCompiler.prototype = {
}
if (!inverse) {
- this.context.aliases.self = "this";
+ this.context.aliases.self = "this";
inverse = "self.noop";
}