Remove debug code
This commit is contained in:
@@ -71,7 +71,7 @@ Handlebars.VM = {
|
|||||||
throw new Handlebars.Exception("The partial " + name + " could not be found");
|
throw new Handlebars.Exception("The partial " + name + " could not be found");
|
||||||
} else if(partial instanceof Function) {
|
} else if(partial instanceof Function) {
|
||||||
return partial(context, {helpers: helpers, partials: partials});
|
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");
|
throw new Handlebars.Exception("The partial " + name + " could not be compiled when running in vm mode");
|
||||||
} else {
|
} else {
|
||||||
partials[name] = Handlebars.compile(partial);
|
partials[name] = Handlebars.compile(partial);
|
||||||
|
|||||||
Reference in New Issue
Block a user