Working on test for ../../omg

This commit is contained in:
Alan Johnson
2010-08-03 00:05:24 -04:00
parent edb6b238d8
commit 7e036fb952
2 changed files with 10 additions and 1 deletions
+1
View File
@@ -142,6 +142,7 @@ Handlebars.Compiler.prototype = {
// each function made internally needs a unique IDs. These are locals, so they
// don't need to be globally unique, just per compiler
console.log("In block " + mustache);
var fnId = "fn" + this.pointer.toString();
this.fn += "var " + fnId + " = function(context) {" + result + "}; ";