Closed matthewp closed 7 years ago
Should note that while there is only a warning above, it rewrites the code to replace customElements.define
with customElements.a
which doesn't exist on the global. Trying other variants like window.customElements.define
and self.customElements.define
doesn't help.
Thanks for the reports!
For now, you can use window['customElements']['define']
Ok, I promise this is the last one, related to this, https://github.com/cramforce/splittable/issues/8
Closing as WAI.
It's fine with the
HTMLElement
global but notcustomElements
.Sorry for all of the bug reports, will stop for now.