Re: [w3c/webcomponents] Non-class based example of customElement.define() (#587)

> Wow Justin, that's an incredible hack (using Object.setPrototypeOf(this, ...) inside the native constructor. I hadn't thought of such a thing before.

you were worried about Edge 12+, setPrototypeOf can't be polyfilled in IE < 11.

Anyway, the issue has been addressed and solved for Babel ages ago, without needing extra files.
https://github.com/WebReflection/babel-plugin-transform-builtin-classes



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/587#issuecomment-333595897

Received on Monday, 2 October 2017 16:57:46 UTC