I have added a new method to JSLINT which returns the material from the report in the form of a data structure. This should be useful to programs that want to...
765
Harry Whitfield
harry152566
Aug 1, 2009 8:59 am
... Using the new method in JSLINT within Widget Tester on a Macintosh, I am seeing systematic off-by-one errors in the line numbers of the data structure...
766
Arthur Blake
blakesys
Aug 1, 2009 2:05 pm
I know this is getting a little off-topic, but I still think it's related and relevant to JSLint. With preliminary testing, using spidermonkey instead of Java...
767
Dominic Mitchell
happygiraffe...
Aug 2, 2009 6:44 am
... That's very interesting. Just out of curiosity, how much of that is down to startup time? If you do some start/end timing in the code, how long does it...
768
Arthur Blake
blakesys
Aug 2, 2009 1:14 pm
None of my timing includes startup time- as my application is a server (web app) and it's always running, more or less... ... [Non-text portions of this...
769
dom@...
happygiraffe...
Aug 2, 2009 9:02 pm
... Thank you -- that's even more impressive. -Dom...
770
Arthur Blake
blakesys
Aug 3, 2009 3:46 am
Yeah, it's amazing how fast spidermonkey is... the latest versions that have tracemonkey rival native C code:Great blog post about it (almost a year old ...
771
mnewton32@...
mnewton32
Aug 3, 2009 4:05 am
Has anyone been able to get the modified JSLint running with a TraceMonkey-enabled build of SpiderMonkey? SpiderMonkey 1.7 is a few years old at this point. So...
772
Arthur Blake
blakesys
Aug 3, 2009 5:52 am
I got the spidermonkey tips to build and work fine... although I haven't tried it with JSLint. But I'm sure it would work fine. It seems pretty stable,...
773
pauanyu
Aug 3, 2009 12:43 pm
JSLint doesn't like DOM types: Element NodeList etc. So you can't do (foo instanceof Element) to see if it's a HTMLElement, or (foo instanceof NodeList) to see...
774
Douglas Crockford
douglascrock...
Aug 3, 2009 3:02 pm
... I will add them when IE adds them. Currently, I think it is more helpful for JSLint to report that NodeList is not available on 80% of browsers....
775
pauanyu
Aug 3, 2009 10:26 pm
... Understandable. Er, IE still holds 80% of the market share? If I recall, basically every browser other than IE supports NodeList, and that IE has closer to...
776
aceblchboy
Aug 4, 2009 3:53 am
Will you fix it soon? Thanks, love the tool....
777
Douglas Crockford
douglascrock...
Aug 4, 2009 1:38 pm
... Can you provide me an example that shows the wrong line?...
778
Douglas Crockford
douglascrock...
Aug 5, 2009 9:14 pm
I added a new option that lets you set the maximum number of warnings. The default is 0. It is used only if option.passfail is not true....
779
Douglas Crockford
douglascrock...
Aug 5, 2009 9:52 pm
... The default is 50. Fifty....
780
Michael Lorton
mlorton
Aug 5, 2009 10:05 pm
Does "0" mean "no limit"? M. ... From: Douglas Crockford <douglas@...> To: jslint_com@yahoogroups.com Sent: Wednesday, August 5, 2009 2:52:31 PM ...
781
pauanyu
Aug 6, 2009 4:20 am
... By the way, I ran some tests in IE8. Apparently IE8 *does* support Element, but not NodeList: var body = document.getElementsByTagName("body"); ...
782
Dominic Mitchell
happygiraffe...
Aug 6, 2009 8:30 am
... No, it just declares your program invalid without looking at it. :) -Dom...
783
christian.wirkus
christian.wi...
Aug 6, 2009 1:01 pm
... Bad option value. Hi! In Rhino the maxerr option causes a problem. Lint at line 2 character 185: Bad option value. /*jslint bitwise: true, browser: true,...
784
Douglas Crockford
douglascrock...
Aug 6, 2009 1:02 pm
The /*jslint */ comment now accepts the maxerr option....
785
Arthur Blake
blakesys
Aug 6, 2009 8:58 pm
Just noticed that when I click the "Book" button link in FF 3.5.2., I get the amazon book twice in two separate popups...Yet, in IE8, Help, Options and Book...
786
aceblchboy
Aug 7, 2009 2:05 pm
... Very nice. I had been manually changing this value in the file, now I won't have to. :D...
787
pauanyu
Aug 7, 2009 6:25 pm
I just noticed it. When did this happen? It's very awesome....
788
Douglas Crockford
douglascrock...
Aug 8, 2009 12:21 am
The web edition of JSLint is now implemented as an ADsafe widget. ADsafe is a safe JavaScript framework intended to support mashups and advertising. JSLint is...
789
pauanyu
Aug 9, 2009 2:03 pm
@charset "UTF-8"; div { overflow-x: visible; overflow-y: visible; word-wrap: normal; white-space: pre-wrap; } div > .foo {} overflow-x, overflow-y, word-wrap,...
790
Douglas Crockford
douglascrock...
Aug 10, 2009 3:17 am
... Please try it now....
791
pauanyu
Aug 10, 2009 1:20 pm
... Excellent, thanks....
792
Arthur Blake
blakesys
Aug 10, 2009 4:00 pm
With the Assume a browser setting checked, onbeforeunload=function() { return "you sure you want to leave the page?"; }; gives me a jslint Implied global...
793
legaev_andrey
Aug 10, 2009 4:12 pm
This is proprietary event handler which can be used in IE only....