diff options
Diffstat (limited to 'lib/handlebars/compiler/ast.js')
-rw-r--r-- | lib/handlebars/compiler/ast.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/handlebars/compiler/ast.js b/lib/handlebars/compiler/ast.js index 5538f40..8fa6495 100644 --- a/lib/handlebars/compiler/ast.js +++ b/lib/handlebars/compiler/ast.js @@ -201,12 +201,12 @@ var AST = { this.stringModeValue = string; }, - IntegerNode: function(integer, locInfo) { + NumberNode: function(number, locInfo) { LocationInfo.call(this, locInfo); - this.type = "INTEGER"; + this.type = "NUMBER"; this.original = - this.integer = integer; - this.stringModeValue = Number(integer); + this.number = number; + this.stringModeValue = Number(number); }, BooleanNode: function(bool, locInfo) { |