summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authortomhuda <tomhuda@tilde.io>2013-01-18 15:37:09 -0800
committertomhuda <tomhuda@tilde.io>2013-01-18 15:37:09 -0800
commitcd9895061bebd8342c344c3b846651b80145e2bf (patch)
treed27575c4b0f709f0f66a4da97d4e626f37cacfa3 /lib/handlebars/compiler/compiler.js
parentccd6a22ea5b89afef77651517b8d0b57e5920ea1 (diff)
downloadhandlebars.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.js1
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 + ";");
}