summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorTom Dale <tom@tomdale.net>2014-05-13 13:24:25 +0100
committerTom Dale <tom@tomdale.net>2014-05-13 13:24:25 +0100
commit72c12623945aa85798a50375330b3ad8e851c600 (patch)
tree335f37aa0fc51aa7cb5c7a377cdc7a65a061eaff /lib/handlebars/compiler/compiler.js
parent085e5e1937b442a4d4add5525db2627e825538aa (diff)
downloadhandlebars.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.js2
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);
}
},