W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: document.register and ES6

From: Dimitri Glazkov <dglazkov@google.com>
Date: Wed, 6 Feb 2013 10:35:37 -0800
Message-ID: <CADh5Ky0iXBnn5qZT71cogek29+zorFCU=gupMmKVFjeMqHLT0w@mail.gmail.com>
To: Erik Arvidsson <arv@chromium.org>
Cc: Daniel Buchner <daniel@mozilla.com>, public-webapps <public-webapps@w3.org>, Boris Zbarsky <bzbarsky@mit.edu>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:57 GMT