webcomponents / polyfills

Web Components Polyfills
BSD 3-Clause "New" or "Revised" License
1.13k stars 166 forks source link

feat(scoped-registry): applies the polyfill only once #439

Closed manolakis closed 3 years ago

manolakis commented 3 years ago

Checks if ShadowRoot prototype supports the createElement method to determine if the polyfill should be applied or not.

Fixes #438

@kevinpschaaf