34Re: Global var...
- Apr 29, 2008--- In email@example.com, Douglas Crockford <douglas@...> wrote:
>Ops... so simple! :)
> /*global FOO*/
> FOO = YAHOO.namespace("foo");
I missed that because I deleted 'var' and I get "'FOO' is undefined.".
The tricky part is adding /*global FOO */.
- << Previous post in topic