diff options
Diffstat (limited to 'lib/handlebars/compiler.js')
-rw-r--r-- | lib/handlebars/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler.js b/lib/handlebars/compiler.js index 843e0b9..641f31a 100644 --- a/lib/handlebars/compiler.js +++ b/lib/handlebars/compiler.js @@ -576,7 +576,7 @@ Handlebars.JavaScriptCompiler = function() {}; var paramString = ["context"].concat(params).join(", "); var helperMissingString = ["context"].concat(helperId).concat(params).join(", "); - nextStack = this.nextStack(); + var nextStack = this.nextStack(); this.source.push("if(typeof " + id + " === 'function') { " + nextStack + " = " + id + ".call(" + paramString + "); }"); fn.call(this, nextStack, helperMissingString, id); |