domenic / html-as-custom-elements

HTML as Custom Elements
https://domenic.github.io/html-as-custom-elements/
Apache License 2.0
260 stars 20 forks source link

compatibility: add the polyfill to test them all #44

Closed WebReflection closed 9 years ago

WebReflection commented 9 years ago

This is rather a feature request, you might want to polyfill Custom Elements only adding a script that points to the CDN:

<script
  src="//cdnjs.cloudflare.com/ajax/libs/document-register-element/0.1.6/document-register-element.js"
>/* W3C Custom Elements */</script>

in this way you could drop the message about using using Chrome and help such polyfill to improve in case something does not work.

Please note that is not Polymer: it polyfills Custom Elements only and nothing else, also without adding globals partial shims as WeakMap is, as example, in Polymer case.

domenic commented 9 years ago

Not interested.