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

Re: Request: option to disable ['something'] is better written in dot notation.

Expand Messages
  • Douglas Crockford
    ... /*jslint browser: true, sub: true */ window[ alert ]( ok );
    Message 1 of 4 , Jul 4, 2008
    • 0 Attachment
      > I have added a 'sub' option to JSLint. It turns off the check for
      > suboptimal subscript notation.

      /*jslint browser: true, sub: true */
      window['alert']('ok');
    • saj14saj
      Thank you, that is wonderful. I really appreciate the tool, which I use frequently, because I think it saves me lots of time debugging, and I also appreciate
      Message 2 of 4 , Jul 11, 2008
      • 0 Attachment
        Thank you, that is wonderful.

        I really appreciate the tool, which I use frequently, because I think
        it saves me lots of time debugging, and I also appreciate your
        responsiveness to suggestions.
      Your message has been successfully submitted and would be delivered to recipients shortly.