Re: Cryptic indentation error
- --- In firstname.lastname@example.org, "tored950" <tor.edvardsson@...> wrote:
>I don't see a problem. What is the message that you get?
> I have come cross a cryptic indentation error. I have put together a test case here.
> 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.