diff options
author | tomhuda <tomhuda@strobecorp.com> | 2011-06-01 22:33:48 -0700 |
---|---|---|
committer | tomhuda <tomhuda@strobecorp.com> | 2011-06-01 22:33:48 -0700 |
commit | 0f78345d0c3399edd27b897485c7f190fe4e8bf6 (patch) | |
tree | 64f4be14a5d25349ad81b31ff9d3d729249daf27 /lib/handlebars/compiler.js | |
parent | 4eeda34ad2bd051b8d686f1b9086054f89284ec1 (diff) | |
download | handlebars.js-0f78345d0c3399edd27b897485c7f190fe4e8bf6.zip handlebars.js-0f78345d0c3399edd27b897485c7f190fe4e8bf6.tar.gz handlebars.js-0f78345d0c3399edd27b897485c7f190fe4e8bf6.tar.bz2 |
Add support for INTEGER expressions
Diffstat (limited to 'lib/handlebars/compiler.js')
-rw-r--r-- | lib/handlebars/compiler.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/handlebars/compiler.js b/lib/handlebars/compiler.js index f3ce602..d66b1db 100644 --- a/lib/handlebars/compiler.js +++ b/lib/handlebars/compiler.js @@ -224,6 +224,10 @@ Handlebars.JavaScriptCompiler = function() {}; this.opcode('pushString', string.string); }, + INTEGER: function(integer) { + this.opcode('push', integer.integer); + }, + comment: function() {}, // HELPERS |