Skip to content

Commit 6f1dde7

Browse files
author
Steven Orvell
committed
Fix comment.
1 parent 3b6981d commit 6f1dde7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mixins/element-mixin.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -656,10 +656,6 @@
656656
hostStack.endHosting(this);
657657
this.$ = this.root.$;
658658
}
659-
// The super.ready here makes this element able to observe data changes.
660-
// We must wait to do this until after client dom is created/attached
661-
// so that any notifications fired during this process are not handled
662-
// before all clients are ready.
663659
super.ready();
664660
}
665661

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

0 commit comments

Comments
 (0)