Took out a console.log that was hanging around.

This commit is contained in:
Alan Johnson
2010-08-06 00:36:02 -04:00
parent 13ceb010ba
commit ccbb241ac9
+1 -1
View File
@@ -116,7 +116,7 @@ test("block helper staying in the same context", function() {
var string = "{{#form}}<p>{{name}}</p>{{/form}}"
var template = Handlebars.compile(string);
result = template({form: function(fn) { console.log(fn); return "<form>" + fn(this) + "</form>" }, name: "Yehuda"});
result = template({form: function(fn) { return "<form>" + fn(this) + "</form>" }, name: "Yehuda"});
equal(result, "<form><p>Yehuda</p></form>");
});