@saasquatch/squatch-js 2.6.0 → 2.6.1-0

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.
package/dist/squatch.js CHANGED
@@ -2074,10 +2074,10 @@ class ImpactEmbed extends DeclarativeEmbedWidget {}
2074
2074
 
2075
2075
  class ImpactPopup extends DeclarativePopupWidget {}
2076
2076
 
2077
- window.customElements.define("squatch-embed", SquatchEmbed);
2078
- window.customElements.define("impact-embed", ImpactEmbed);
2079
- window.customElements.define("squatch-popup", SquatchPopup);
2080
- window.customElements.define("impact-popup", ImpactPopup);
2077
+ if (!window.customElements.get("squatch-embed")) window.customElements.define("squatch-embed", SquatchEmbed);
2078
+ if (!window.customElements.get("impact-embed")) window.customElements.define("impact-embed", ImpactEmbed);
2079
+ if (!window.customElements.get("squatch-popup")) window.customElements.define("squatch-popup", SquatchPopup);
2080
+ if (!window.customElements.get("impact-popup")) window.customElements.define("impact-popup", ImpactPopup);
2081
2081
 
2082
2082
  // @ts-check
2083
2083
  function help() {