summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorKevin Decker <kpdecker@gmail.com>2014-01-15 08:42:32 -0800
committerKevin Decker <kpdecker@gmail.com>2014-01-15 08:42:32 -0800
commit5659db4877b7e28284bb7edb08d8c1d081d5726e (patch)
tree4782d5640c0b6a80ea3b78d388b20a785b3bb5ff /lib/handlebars/compiler/compiler.js
parentcb80f4684323f2924d4251eeb3d7b12cc37ea6d7 (diff)
parentd385e2cab64d169f912348f4f4281d64ae6b7b2f (diff)
downloadhandlebars.js-5659db4877b7e28284bb7edb08d8c1d081d5726e.zip
handlebars.js-5659db4877b7e28284bb7edb08d8c1d081d5726e.tar.gz
handlebars.js-5659db4877b7e28284bb7edb08d8c1d081d5726e.tar.bz2
Merge pull request #634 from wycats/name-option
It would be great to have the helper name passed to `blockHelperMissing`
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r--lib/handlebars/compiler/compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js
index b428c5f..3c4a9b7 100644
--- a/lib/handlebars/compiler/compiler.js
+++ b/lib/handlebars/compiler/compiler.js
@@ -170,7 +170,7 @@ Compiler.prototype = {
this.opcode('pushProgram', program);
this.opcode('pushProgram', inverse);
this.opcode('emptyHash');
- this.opcode('blockValue');
+ this.opcode('blockValue', sexpr.id.original);
} else {
this.ambiguousSexpr(sexpr, program, inverse);