mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Have instantiateBody use Blaze.render per Arunoda
This commit is contained in:
@@ -202,9 +202,9 @@ var instantiateBody = function () {
|
||||
if (Template.__body__.__isInstantiated)
|
||||
return;
|
||||
Template.__body__.__isInstantiated = true;
|
||||
var view = Template.__body__.__makeView();
|
||||
Template.__body__.__view = view;
|
||||
Blaze.materializeView(view).attach(document.body);
|
||||
var range = Blaze.render(Template.__body__);
|
||||
Template.__body__.__view = range.view;
|
||||
range.attach(document.body);
|
||||
};
|
||||
Template.__body__.__instantiate = instantiateBody;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user