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

Re: Bug: unintialized variable with name 'constructor' gives strange error

Expand Messages
  • santini.alberto
    ... Linted on itself: Error: Problem at line 180 character 1: Expected an assignment or function call and instead saw an expression. use strict ; Problem at
    Message 1 of 4 , Mar 5, 2009
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Douglas Crockford" <douglas@...>
      > Thanks for the report. Please try it again.

      Linted on itself:

      Error:

      Problem at line 180 character 1: Expected an assignment or function call and instead saw an expression.

      "use strict";

      Problem at line 3567 character 17: Expected 'if' to have an indentation of 12 instead of 16.

      if (typeof s === 'function') {

      Problem at line 3568 character 21: Expected 's' to have an indentation of 16 instead of 20.

      s = false;

      Problem at line 3569 character 17: Expected '}' to have an indentation of 12 instead of 16.

      }


      Regards,
      Alberto
    Your message has been successfully submitted and would be delivered to recipients shortly.