Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed May 5, 2017
1 parent 3b6981d commit 6f1dde7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/mixins/element-mixin.html
Original file line number Diff line number Diff line change
Expand Up @@ -656,10 +656,6 @@
hostStack.endHosting(this);
this.$ = this.root.$;
}
// The super.ready here makes this element able to observe data changes.
// We must wait to do this until after client dom is created/attached
// so that any notifications fired during this process are not handled
// before all clients are ready.
super.ready();
}

Expand All @@ -676,6 +672,10 @@
if (this._template) {
this.root = this._attachDom(this.root);
}
// The super._readyClients here sets the clients initialized flag.
// We must wait to do this until after client dom is created/attached
// so that this flag can be checked to prevent notifications fired
// during this process from being handled before clients are ready.
super._readyClients();
}

Expand Down

0 comments on commit 6f1dde7

Please sign in to comment.