diff options
author | kpdecker <kpdecker@gmail.com> | 2013-01-20 17:05:17 -0600 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2013-01-20 17:05:17 -0600 |
commit | 956b0a62a6634bffde1054890b8ebaf0724ac6df (patch) | |
tree | efa383302db894605593ae2a8c4724f7f409ee60 /lib/handlebars/compiler/compiler.js | |
parent | 94e70043f98cfc02cc05362b3b65f4165fc10ebd (diff) | |
download | handlebars.js-956b0a62a6634bffde1054890b8ebaf0724ac6df.zip handlebars.js-956b0a62a6634bffde1054890b8ebaf0724ac6df.tar.gz handlebars.js-956b0a62a6634bffde1054890b8ebaf0724ac6df.tar.bz2 |
Inline known helper calls
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r-- | lib/handlebars/compiler/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index 7cac316..a98728d 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -797,7 +797,7 @@ Handlebars.JavaScriptCompiler = function() {}; // so a `helperMissing` fallback is not required. invokeKnownHelper: function(paramSize, name) { var helper = this.setupHelper(paramSize, name); - this.pushStack(helper.name + ".call(" + helper.callParams + ")"); + this.pushStack(helper.name + ".call(" + helper.callParams + ")", true); }, // [invokeAmbiguous] |