Skip to content

Commit a3fce19

Browse files
author
Steven Orvell
committed
Fast check in createdCallback to see if registration has finished.
1 parent 103f790 commit a3fce19

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/lib/base.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
},
4141

4242
createdCallback: function() {
43-
this._ensureRegisterFinished(this.__proto__);
43+
if (!this.__hasRegisterFinished) {
44+
this._ensureRegisterFinished(this.__proto__);
45+
}
4446
Polymer.telemetry.instanceCount++;
4547
this.root = this;
4648
this._doBehavior('created'); // abstract

0 commit comments

Comments
 (0)