Simplify BlockNode by removing intermediate MustacheNode
This commit is contained in:
@@ -108,7 +108,7 @@ Compiler.prototype = {
|
||||
},
|
||||
|
||||
block: function(block) {
|
||||
var mustache = block.mustache,
|
||||
var sexpr = block.sexpr,
|
||||
program = block.program,
|
||||
inverse = block.inverse;
|
||||
|
||||
@@ -120,7 +120,6 @@ Compiler.prototype = {
|
||||
inverse = this.compileProgram(inverse);
|
||||
}
|
||||
|
||||
var sexpr = mustache.sexpr;
|
||||
var type = this.classifySexpr(sexpr);
|
||||
|
||||
if (type === "helper") {
|
||||
|
||||
Reference in New Issue
Block a user