We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a2207a commit 2c3899fCopy full SHA for 2c3899f
packages/templating/templating.js
@@ -202,9 +202,9 @@ var instantiateBody = function () {
202
if (Template.__body__.__isInstantiated)
203
return;
204
Template.__body__.__isInstantiated = true;
205
- var view = Template.__body__.__makeView();
206
- Template.__body__.__view = view;
207
- Blaze.materializeView(view).attach(document.body);
+ var range = Blaze.render(Template.__body__);
+ Template.__body__.__view = range.view;
+ range.attach(document.body);
208
};
209
Template.__body__.__instantiate = instantiateBody;
210
0 commit comments