From a3fce19f00693d32282a0b5e70eaa256ef61b24c Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Thu, 17 Mar 2016 10:10:58 -0700 Subject: [PATCH] Fast check in createdCallback to see if registration has finished. --- src/lib/base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/base.html b/src/lib/base.html index 8cf9a3b444..1223d4e438 100644 --- a/src/lib/base.html +++ b/src/lib/base.html @@ -40,7 +40,9 @@ }, createdCallback: function() { - this._ensureRegisterFinished(this.__proto__); + if (!this.__hasRegisterFinished) { + this._ensureRegisterFinished(this.__proto__); + } Polymer.telemetry.instanceCount++; this.root = this; this._doBehavior('created'); // abstract