Remove debug code

This commit is contained in:
kpdecker
2011-07-30 16:11:37 -05:00
parent d641dae5f1
commit 72ea816cf7
+1 -1
View File
@@ -71,7 +71,7 @@ Handlebars.VM = {
throw new Handlebars.Exception("The partial " + name + " could not be found");
} else if(partial instanceof Function) {
return partial(context, {helpers: helpers, partials: partials});
} else if (false && !Handlebars.compile) {
} else if (!Handlebars.compile) {
throw new Handlebars.Exception("The partial " + name + " could not be compiled when running in vm mode");
} else {
partials[name] = Handlebars.compile(partial);