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

Re: [jslint] Can JSLint work on multiple files?

Expand Messages
  • Toby Maxwell-Lyte
    We use a global namespace and use it in the following way var myNameSpace = myNameSpace || {}; myNameSpace.myFunct = function () {...}; ... -- Toby
    Message 1 of 9 , Jan 1, 2012
    • 0 Attachment
      We use a global namespace and use it in the following way

      var myNameSpace = myNameSpace || {};
      myNameSpace.myFunct = function () {...};

      On 27 December 2011 08:28, Frederik Dohr <fdg001@...> wrote:
      >> There is my namespace, but how would file A know, there is a
      >> MY_APP.doSomething() in file B? I still need to plaster
      >> /*global MY_APP: false */ statements all around.
      >
      > IMO, explicitly declaring dependencies is a _good_ thing - so I don't
      > see a problem with this.
      >
      >
      > -- F.
      >
      >
      > ------------------------------------
      >
      > Yahoo! Groups Links
      >
      >
      >



      --
      Toby Maxwell-Lyte
      07816 836300
      01443 239692
    Your message has been successfully submitted and would be delivered to recipients shortly.