diff options
author | Yehuda Katz <wycats@gmail.com> | 2011-12-27 00:30:24 -0800 |
---|---|---|
committer | Yehuda Katz <wycats@gmail.com> | 2011-12-27 00:30:46 -0800 |
commit | e57e626480b316d381957e1e94b2a02868b029f8 (patch) | |
tree | ca877089d2c287b359c9276571e3d9a98a8e1b5d /lib/handlebars/compiler/compiler.js | |
parent | cb048228122c3a7004634491dcade3797a102678 (diff) | |
download | handlebars.js-e57e626480b316d381957e1e94b2a02868b029f8.zip handlebars.js-e57e626480b316d381957e1e94b2a02868b029f8.tar.gz handlebars.js-e57e626480b316d381957e1e94b2a02868b029f8.tar.bz2 |
Fix bug where inverse section was being passed to subsequent helpers
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r-- | lib/handlebars/compiler/compiler.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index 039a34e..427e0a5 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -181,6 +181,7 @@ Handlebars.JavaScriptCompiler = function() {}; this.declare('inverse', programGuid); this.opcode('invokeProgram', null, params.length, !!block.mustache.hash); + this.declare('inverse', null); this.opcode('append'); }, |