Add BOOLEAN support

This commit is contained in:
tomhuda
2011-06-01 22:57:22 -07:00
parent 0f78345d0c
commit 1482f1ae72
8 changed files with 114 additions and 4 deletions
+5
View File
@@ -88,6 +88,11 @@ var Handlebars = require("handlebars");
this.integer = integer;
};
Handlebars.AST.BooleanNode = function(boolean) {
this.type = "BOOLEAN";
this.boolean = boolean;
};
Handlebars.AST.CommentNode = function(comment) {
this.type = "comment";
this.comment = comment;