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

Re: document.register and ES6

From: Scott Miles <sjmiles@google.com>
Date: Fri, 8 Feb 2013 08:54:58 -0800
Message-ID: <CAHbmOLaUu59Y2KrHwrddPhRvh1OVYu74kQYcLyPCVawTQLqb4g@mail.gmail.com>
To: Erik Arvidsson <arv@chromium.org>
Cc: public-webapps <public-webapps@w3.org>, daniel <daniel@mozilla.com>, Boris Zbarsky <bzbarsky@mit.edu>, Dimitri Glazkov <dglazkov@google.com>
The idea is supposed to be that 1 and 3 are only stopgaps until we get
'what we want'. In the future when you can derive a DOM element directly,
both bits of extra code can fall away. Was that clear? Does it change
anything in your mind?

If we go with 2, I believe it means nobody will ever use a custom element
without having to load a helper library first to make the nasty syntax go
away, which seems less than ideal. I donno, I'm not 100% either way.


On Fri, Feb 8, 2013 at 7:46 AM, Erik Arvidsson <arv@chromium.org> wrote:

> On Thu, Feb 7, 2013 at 11:51 PM, Scott Miles <sjmiles@google.com> wrote:
> > P.P.S. Arv, do you have a preference from my three versions (or none of
> the
> > above)?
> I prefer number 2. This is what we want for ES6 anyway. Both 1 and 3
> makes me have to repeat myself.
> --
> erik
Received on Friday, 8 February 2013 16:55:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:58 UTC