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

Okay, nevermind, the engine is using it, but what happened in my case is a subclass was calling the super class with traditional ES5-style `constructor.apply` which makes `new.target` undefined.

So my above comment was wrong about `new.target`, but this still shows how much of a pain point this is. 


-- 
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-378673525

Received on Wednesday, 4 April 2018 17:05:29 UTC