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

2798Re: [jslint] Tolerate uncapitalized constructors

Expand Messages
  • Doc Emmett Splendid
    Feb 20, 2012
      Could you please give us the code sample which fails? The following works for me when the "Tolerate uncapitalized constructors" checkbox is checked:

      var foo = function () {};
      var bar = new foo();


      ________________________________
      From: Phil <philduby@...>
      To: jslint_com@yahoogroups.com
      Sent: Monday, 20 February 2012, 21:55
      Subject: [jslint] Tolerate uncapitalized constructors


       
      Tolerate uncapitalized constructors checkbox and the associated newcap flag does not seem to be working. I get ... "should start with an uppercase letter." regardless of the settings.




      [Non-text portions of this message have been removed]
    • Show all 3 messages in this topic