Re: document.register and ES6

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 <> wrote:

> On Thu, Feb 7, 2013 at 11:51 PM, Scott Miles <> 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