diff options
author | tomhuda <tomhuda@tilde.io> | 2013-01-18 15:37:09 -0800 |
---|---|---|
committer | tomhuda <tomhuda@tilde.io> | 2013-01-18 15:37:09 -0800 |
commit | cd9895061bebd8342c344c3b846651b80145e2bf (patch) | |
tree | d27575c4b0f709f0f66a4da97d4e626f37cacfa3 /lib/handlebars/compiler/compiler.js | |
parent | ccd6a22ea5b89afef77651517b8d0b57e5920ea1 (diff) | |
download | handlebars.js-cd9895061bebd8342c344c3b846651b80145e2bf.zip handlebars.js-cd9895061bebd8342c344c3b846651b80145e2bf.tar.gz handlebars.js-cd9895061bebd8342c344c3b846651b80145e2bf.tar.bz2 |
Must pop the stack extra for hashes
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 e1bc01b..9cdf250 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -840,6 +840,7 @@ Handlebars.JavaScriptCompiler = function() {}; if (this.options.stringParams) { var type = this.popStack(); + this.popStack(); this.source.push("hashTypes['" + key + "'] = " + type + ";"); } |