diff options
-rw-r--r-- | lib/handlebars/ast.js | 2 | ||||
-rw-r--r-- | lib/handlebars/compiler.js | 2 | ||||
-rw-r--r-- | lib/handlebars/printer.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/handlebars/ast.js b/lib/handlebars/ast.js index 69bd5eb..d7cc150 100644 --- a/lib/handlebars/ast.js +++ b/lib/handlebars/ast.js @@ -90,7 +90,7 @@ var Handlebars = require("handlebars"); Handlebars.AST.BooleanNode = function(bool) { this.type = "BOOLEAN"; - this.boolean = bool; + this.bool = bool; }; Handlebars.AST.CommentNode = function(comment) { diff --git a/lib/handlebars/compiler.js b/lib/handlebars/compiler.js index 4d74d14..6f52482 100644 --- a/lib/handlebars/compiler.js +++ b/lib/handlebars/compiler.js @@ -229,7 +229,7 @@ Handlebars.JavaScriptCompiler = function() {}; }, BOOLEAN: function(bool) { - this.opcode('push', bool.boolean); + this.opcode('push', bool.bool); }, comment: function() {}, diff --git a/lib/handlebars/printer.js b/lib/handlebars/printer.js index 854d5c4..7be3f98 100644 --- a/lib/handlebars/printer.js +++ b/lib/handlebars/printer.js @@ -114,7 +114,7 @@ Handlebars.PrintVisitor.prototype.INTEGER = function(integer) { }; Handlebars.PrintVisitor.prototype.BOOLEAN = function(bool) { - return "BOOLEAN{" + bool.boolean + "}"; + return "BOOLEAN{" + bool.bool + "}"; }; Handlebars.PrintVisitor.prototype.ID = function(id) { |