summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r--lib/handlebars/compiler/compiler.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js
index b92289a..83eca24 100644
--- a/lib/handlebars/compiler/compiler.js
+++ b/lib/handlebars/compiler/compiler.js
@@ -321,8 +321,8 @@ Compiler.prototype = {
this.opcode('pushString', string.string);
},
- INTEGER: function(integer) {
- this.opcode('pushLiteral', integer.integer);
+ NUMBER: function(number) {
+ this.opcode('pushLiteral', number.number);
},
BOOLEAN: function(bool) {