removed references to .boolean, which broke the YUI Compressor
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -229,7 +229,7 @@ Handlebars.JavaScriptCompiler = function() {};
|
||||
},
|
||||
|
||||
BOOLEAN: function(bool) {
|
||||
this.opcode('push', bool.boolean);
|
||||
this.opcode('push', bool.bool);
|
||||
},
|
||||
|
||||
comment: function() {},
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user