- From: Joe Pea <notifications@github.com>
- Date: Sat, 30 Sep 2017 10:18:20 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 30 September 2017 17:18:41 UTC
Wow Justin, that's an incredible hack (using `Object.setPrototypeOf(this, ...)` inside the native constructor. I hadn't thought of such a thing before. The arrow function and `const` is still in the way though. If we're running this code in older browsers (which is probably true if we're compiling to ES5), it will throw a syntax error. -- 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-333322819
Received on Saturday, 30 September 2017 17:18:41 UTC