Got rid of some debugging output.
This commit is contained in:
@@ -223,7 +223,6 @@ Handlebars.Compiler.prototype = {
|
||||
|
||||
this.fn += "if (Handlebars.isFunction(" + expr + ")) out = out + Handlebars.filterOutput(" + expr + ".call(Handlebars.buildContext(context, stack)), " + this.escaped + "); ";
|
||||
this.fn += "else if(typeof " + expr + "!== 'undefined') out = out + Handlebars.filterOutput(" + expr + ", " + this.escaped + ");";
|
||||
console.log(this.fn);
|
||||
},
|
||||
|
||||
addInvertedSection: function(mustache) {
|
||||
@@ -238,7 +237,6 @@ Handlebars.Compiler.prototype = {
|
||||
this.fn += "lookup = " + this.lookupFor(mustache) + "; ";
|
||||
this.fn += "if(Handlebars.isFunction(lookup) && Handlebars.isEmpty(lookup())) out = out + " + fnId + "(proxy);";
|
||||
this.fn += "else if (Handlebars.isEmpty(lookup)) out = out + " + fnId + "(proxy);";
|
||||
console.log(this.fn);
|
||||
|
||||
this.openBlock = false;
|
||||
this.inverted = false;
|
||||
|
||||
Reference in New Issue
Block a user