Re: [webcomponents]: Platonic form of custom elements declarative syntax

On Wed, Apr 10, 2013 at 5:32 PM, Erik Arvidsson <arv@chromium.org> wrote:

> On Wed, Apr 10, 2013 at 4:43 PM, Rick Waldron <waldron.rick@gmail.com>wrote:
>
>> A bigger issue with proposal is that the global object appears to be the
>> element's instance object itself, which isn't going to work
>>
>
> +1
>
> I'm not sure that `this` was supposed to be the [[Global]] object? But
> agree with you, this is something that has been itching me for a while too.
> I need to think a bit more about how to actually solve this issue though.
>

Maybe not, my assumption was based on <script> top level |this| ===
|window-as-[[Global]]|.

Also, should note that I read back through the thread and this actually
first appeared in Dimitri Glazkov's original post, apologies for the
confusion there.

Rick

Received on Wednesday, 10 April 2013 21:39:04 UTC