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

Options bug

Expand Messages
  • mbrrtt
    Another small bug: JSLint doesn t like it if you break the /*jslint ... */ line after a colon. (It does accept line breaks after a comma.) /*jslint bitwise:
    Message 1 of 1 , Jun 20, 2009
    • 0 Attachment
      Another small bug: JSLint doesn't like it if you break the
      /*jslint ... */ line after a colon. (It does accept line breaks after
      a comma.)

      /*jslint bitwise: true, eqeqeq: true, immed: true, newcap: true, nomen:
      true, onevar: true, regexp: true, undef: true, white: true, indent: 4 */

      yields:

      "Error:

      Problem at line 4 character 71: Bad option value.

      true, onevar: true, regexp: true, undef: true, white: true, indent: 4 */

      Problem at line 4 character 71: Stopping, unable to continue. (1% scanned)."
    Your message has been successfully submitted and would be delivered to recipients shortly.