Got rid of some debugging output.

This commit is contained in:
Alan Johnson
2010-08-18 20:57:42 -04:00
parent a9c875e0a9
commit 598f333085
-2
View File
@@ -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;