Finish compatibility with the old handlebars:
* foo"bar" is an invalid param
* {{foo}}bar{{/baz}} is invalid
* fix a number of issues with inverse sections
* add partials
This commit is contained in:
@@ -37,8 +37,8 @@ Handlebars.PrintVisitor.prototype.program = function(program) {
|
||||
|
||||
this.padding++;
|
||||
|
||||
for(var i=0, l=inverse.length; i<l; i++) {
|
||||
out = out + this.accept(inverse[i]);
|
||||
for(var i=0, l=inverse.statements.length; i<l; i++) {
|
||||
out = out + this.accept(inverse.statements[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user