summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2011-12-27 00:30:24 -0800
committerYehuda Katz <wycats@gmail.com>2011-12-27 00:30:46 -0800
commite57e626480b316d381957e1e94b2a02868b029f8 (patch)
treeca877089d2c287b359c9276571e3d9a98a8e1b5d /lib/handlebars/compiler/compiler.js
parentcb048228122c3a7004634491dcade3797a102678 (diff)
downloadhandlebars.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.js1
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');
},