diff options
author | Tom Dale <tom@tomdale.net> | 2014-05-13 13:24:25 +0100 |
---|---|---|
committer | Tom Dale <tom@tomdale.net> | 2014-05-13 13:24:25 +0100 |
commit | 72c12623945aa85798a50375330b3ad8e851c600 (patch) | |
tree | 335f37aa0fc51aa7cb5c7a377cdc7a65a061eaff /lib/handlebars/compiler/compiler.js | |
parent | 085e5e1937b442a4d4add5525db2627e825538aa (diff) | |
download | handlebars.js-72c12623945aa85798a50375330b3ad8e851c600.zip handlebars.js-72c12623945aa85798a50375330b3ad8e851c600.tar.gz handlebars.js-72c12623945aa85798a50375330b3ad8e851c600.tar.bz2 |
Pass full id to helperMissing
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r-- | lib/handlebars/compiler/compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index c702d00..db0f39c 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -276,7 +276,7 @@ Compiler.prototype = { throw new Exception("You specified knownHelpersOnly, but used the unknown helper " + name, sexpr); } else { this.ID(id); - this.opcode('invokeHelper', params.length, name, sexpr.isRoot); + this.opcode('invokeHelper', params.length, id.original, sexpr.isRoot); } }, |