removed references to .boolean, which broke the YUI Compressor

This commit is contained in:
gleitz
2011-06-22 17:18:07 -04:00
parent be8f4f6fb9
commit 52900c89f7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -229,7 +229,7 @@ Handlebars.JavaScriptCompiler = function() {};
},
BOOLEAN: function(bool) {
this.opcode('push', bool.boolean);
this.opcode('push', bool.bool);
},
comment: function() {},
+1 -1
View File
@@ -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) {