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

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

Expand Messages
  • Frederik Dohr
    ... IMO, explicitly declaring dependencies is a _good_ thing - so I don t see a problem with this. -- F.
    Message 1 of 9 , Dec 27, 2011
      > 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.
    • Toby Maxwell-Lyte
      We use a global namespace and use it in the following way var myNameSpace = myNameSpace || {}; myNameSpace.myFunct = function () {...}; ... -- Toby
      Message 2 of 9 , Jan 1, 2012
        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.