mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Re-enable event handlers
This commit is contained in:
@@ -275,7 +275,6 @@ UI.render2 = function (kind, parentComponent) {
|
||||
var range = new UI.DomRange(inst);
|
||||
materialize(content, range, null, inst);
|
||||
|
||||
inst.parented = function () {}; // XXX override old base
|
||||
inst.removed = function () {
|
||||
inst.isDestroyed = true;
|
||||
if (inst.destroyed) {
|
||||
@@ -284,12 +283,6 @@ UI.render2 = function (kind, parentComponent) {
|
||||
}
|
||||
};
|
||||
|
||||
// TODO: defer this until template is in document
|
||||
if (inst.rendered) {
|
||||
updateTemplateInstance(inst);
|
||||
inst.rendered.call(inst.templateInstance);
|
||||
}
|
||||
|
||||
return inst;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user