Add template isTop flag

This commit is contained in:
kpdecker
2014-08-25 21:15:26 -05:00
parent 24d63b6966
commit 84342b6215
+1
View File
@@ -135,6 +135,7 @@ export function template(templateSpec, env) {
return templateSpec.main.call(container, context, container.helpers, container.partials, data, depths);
};
ret.isTop = true;
ret._setup = function(options) {
if (!options.partial) {