Loading ...
Sorry, an error occurred while loading the content.

Re: Global var...

Expand Messages
  • santini.alberto
    ... Ops... so simple! :) I missed that because I deleted var and I get FOO is undefined. . The tricky part is adding /*global FOO */. Thanks again,
    Message 1 of 3 , Apr 29 2:38 AM
    View Source
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, Douglas Crockford <douglas@...> wrote:
      >
      > /*global FOO*/
      > FOO = YAHOO.namespace("foo");
      >

      Ops... so simple! :)

      I missed that because I deleted 'var' and I get "'FOO' is undefined.".
      The tricky part is adding /*global FOO */.

      Thanks again,
      Alberto
    Your message has been successfully submitted and would be delivered to recipients shortly.