Modules: Name capture

ihab.awad at gmail.com ihab.awad at gmail.com
Tue Jun 1 18:41:08 PDT 2010


On Tue, Jun 1, 2010 at 6:26 PM, Waldemar Horwat <waldemar at google.com> wrote:

> I don't understand your example of how this is supposed to work in the
> regular (non-accidental-aliasing) case.  As you wrote in your example,
> two.js evolves to reference the identifier "Drawing" unbeknownst to one.js.
>  There is no definition of it, so two.js wouldn't work at all.
>

[ I hope I understand your question. ]

In my original example, "zero.js" defined "Drawing". According to the
current proposal, this would be propagated down to "two.js".

Does that help? Or do I misunderstand?

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20100601/49206bdc/attachment.html>


More information about the es-discuss mailing list