@sbb-esta/lyne-elements-dev 4.0.0-dev.1775700454 → 4.0.0-dev.1775721561
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -165,7 +165,7 @@ var a = class extends Event {
|
|
|
165
165
|
static define() {
|
|
166
166
|
if (!this.elementName) throw Error(`The static property "elementName" is not defined on ${this.name}. Please define it to register the custom element.`);
|
|
167
167
|
if (!customElements.get(this.elementName)) {
|
|
168
|
-
customElements.define(this.elementName, this)
|
|
168
|
+
customElements.define(this.elementName, this);
|
|
169
169
|
let e = [], t = this;
|
|
170
170
|
for (; t._$sbbElement$;) Array.isArray(t.elementDependencies) && e.push(...t.elementDependencies), t = Object.getPrototypeOf(t);
|
|
171
171
|
new Set(e).forEach((e) => e.define());
|