Fixed bug where compiler was continuing to think it was looking at partials after the partial tag was done. Closes GH-14.
This commit is contained in:
@@ -462,9 +462,11 @@ Handlebars.Compiler.prototype = {
|
||||
return;
|
||||
} else if (this.partial) {
|
||||
this.addPartial(mustache, param)
|
||||
this.partial = false;
|
||||
return;
|
||||
} else if (this.inverted) {
|
||||
this.addInvertedSection(mustache);
|
||||
this.inverted = false;
|
||||
return;
|
||||
} else if(this.openBlock) {
|
||||
this.addBlock(mustache, param, parts)
|
||||
|
||||
Reference in New Issue
Block a user