[w3c/webcomponents] Return constructor from customElements.define (#484)

For aesthetic reasons, it might be nice to be able to do:
```javascript
export default customElements.define('my-element', class extends HTMLElement { // ...
```
Currently this isn't possible though since define does not return anything. Any reason not to just pass constructors through?

---
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/484

Received on Monday, 18 April 2016 19:29:51 UTC