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/ast.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/ast.js')
-rw-r--r-- | lib/handlebars/ast.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/handlebars/ast.js b/lib/handlebars/ast.js index 1194694..86960ab 100644 --- a/lib/handlebars/ast.js +++ b/lib/handlebars/ast.js @@ -83,6 +83,11 @@ var Handlebars = require("handlebars"); this.string = string; }; + Handlebars.AST.IntegerNode = function(integer) { + this.type = "INTEGER"; + this.integer = integer; + }; + Handlebars.AST.CommentNode = function(comment) { this.type = "comment"; this.comment = comment; |