On Wed, May 28, 2008 at 2:46 AM, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > I think it would be simpler to limit the effect of namespaces to lexical > bindings (where we know we can bind to the right name and namespace > statically in any case of interest) and not have them affect object property > lookup in general.
OK, that would be simpler, though I do worry about breaking the "window.whatever is the global whatever" model a bit for web developers. Thanks for the explanation. Given that namespaced lookup is used on the scope chain, |with (window)| would then do namespaced lookups, albeit perhaps more slowly? Does that also mean that |with (someobj)| will be a way to get namespaced lookup on non-global objects? Mike _______________________________________________ Es4-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es4-discuss
