Subj : Re: Binding a global object (again) To : netscape.public.mozilla.jseng From : jjl@pobox.com (John J. Lee) Date : Fri Sep 05 2003 09:17 pm Brendan Eich writes: > John J Lee wrote: [...] > Unqualified references (name, not window.name) do not call > JSClass.getProperty for each object on the scope chain. If you > haven't predefined name, you will get that ReferenceError. If you > want to define name lazily, you need a non-stub JSClass.resolve hook. [...] Forgot to say 'thanks', so -- thanks. I looked at resolve before, but couldn't bring myself to believe that actually defining properties was the right way to do it. Everything now seems to be working fine. John .