Re: document.register and ES6

On Wed, Feb 6, 2013 at 9:03 AM, Erik Arvidsson <arv@chromium.org> wrote:

Do we need to be able to do "new MyButton" or is

> document.createElement/innerHTML/parser sufficient? If we need to be
> able to do "new" in the polyfill I think we either need to tweak
> document.register or get the developer to cooperate (by writing
> different code). At this point I don't see how we can tweak the API
> and still fulfill all of the requirements.
>

Can the "super" call do this work somehow in the polyfill?

:DG<

Received on Wednesday, 6 February 2013 18:36:07 UTC