Clean up parser tests and AST printer

This commit is contained in:
tomhuda
2012-05-28 19:06:26 -07:00
parent 1082ec2414
commit 0afc8b58d2
3 changed files with 49 additions and 61 deletions
+4
View File
@@ -54,6 +54,10 @@ var Handlebars = require('./base');
this.mustache = mustache;
this.program = program;
this.inverse = inverse;
if (this.inverse && !this.program) {
this.isInverse = true;
}
};
Handlebars.AST.ContentNode = function(string) {