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

Re: Cryptic indentation error

Expand Messages
  • Douglas Crockford
    ... I don t see a problem. What is the message that you get?
    Message 1 of 2 , Jun 11 6:02 PM
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "tored950" <tor.edvardsson@...> wrote:
      >
      > I have come cross a cryptic indentation error. I have put together a test case here.
      >
      > https://gist.github.com/1020942
      >
      > Make sure you have jslint.js in the same directory as the test case above.
      >
      > In the file there are two cases of code, the first one goes thru JSLint with no problem and but the other case fails on indentation. The only difference between the two is that the first one has a /*global JSLINT*/ pragma on the top. Of course any global declaration works.
      >
      > The test code has spaces and line feeds as would be in a source file.


      I don't see a problem. What is the message that you get?
    Your message has been successfully submitted and would be delivered to recipients shortly.