2816Re: Lines numbers in error report seem to be off in latest version
- Mar 1, 2012--- In email@example.com, Satyam <satyam@...> wrote:
>The line counter is off again for me.
> It seems the line counter is not counting the blank lines, at least
> that's what it seems in the first few lines when the code causing the
> error seemed obvious, later on, I could not pinpoint what's setting it
> off, if anything else is.
I've tried changing the line endings of my source files, but WSH.ReadAll must be changing them all back, because the JSLint line counter gets off by one for every blank line in the source, regardless of line ending character(s).
I noticed the IE workaround was backed in on Jun 09, 2011, and removed again on Feb 20, 2012. That's when my line counts broke. Is there any hope that this workaround will be put back in? Do I need to use WSH.ReadLine in my script and concatenate the lines before calling JSLINT? I'd expect this change broke anybody using JSLint with WSH.
- << Previous post in topic Next post in topic >>