Add template isTop flag
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user