Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

jslint_com · This group has moved to Google Plus.

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 583
  • Category: JavaScript
  • Founded: Mar 7, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 107 - 136 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
107 osteocosmosis Send Email Jul 15, 2008
8:48 pm
Yes. Of course. Thanks....
108 santini.alberto Send Email Jul 16, 2008
11:22 am
I use the snippet I attached below to integrate JSLint and SciTE editor. Is it possible to get a text report (and not a html report), because I wouldn't...
109 santini.alberto Send Email Jul 18, 2008
12:21 pm
Hello. I was wondering if it's possible to catch the error described by the snippet. I am referring not to catch the out of bound, but the lack of the...
110 Douglas Crockford
douglascrock... Send Email
Jul 19, 2008
12:37 pm
... Currently, I am not planning for a text report. I will consider your suggestion....
111 Douglas Crockford
douglascrock... Send Email
Jul 19, 2008
12:39 pm
... Finding those statically in general is very hard....
112 Douglas Crockford
douglascrock... Send Email
Jul 24, 2008
12:20 pm
I have removed the glovar option. It contracts a feature that might appear in a future edition of the language....
113 tonyorlando Send Email Jul 26, 2008
5:12 am
In 3000 lines of JS code, I'm completely clean according to JSLint, except for five messages like this: "Be careful when making functions within a loop....
114 Douglas Crockford
douglascrock... Send Email
Jul 26, 2008
5:16 am
... It is generally a bad idea to define a function in a loop. If the function refers to a variable that changes in the loop, then it will bind to the final...
115 montago_2004 Send Email Jul 27, 2008
11:12 am
var arr = []; for(var i, b; b=arr[i] ; i++){ } //---------- according to : http://userjs.org/help/tutorials/efficient-code#fastloops its fully legit to make an...
116 montago_2004 Send Email Jul 27, 2008
11:12 am
doit(); function doit(){ } //----- In ANSI-C its crusial that functions are defined before they are used - either 'physically&#39; or by a shadow in the...
117 Douglas Crockford
douglascrock... Send Email
Jul 27, 2008
11:19 am
... The code is faulty because it can enumerate inherited methods as well as data values. This is known to cause programs to fail. You can control this with...
118 Douglas Crockford
douglascrock... Send Email
Jul 27, 2008
11:20 am
... I recommend that you heed JSLint's advice and declare your functions before you call them....
119 re miya
remiya_ws Send Email
Jul 27, 2008
12:11 pm
Yes, this is a good advice. It saves a lot of headaches. ... From: Douglas Crockford <douglas@...> To: jslint_com@yahoogroups.com Sent: Sunday, 27...
120 montago_2004 Send Email Jul 27, 2008
9:10 pm
... the option doesn't apply to the for-loop... the "error" is still there...
121 Douglas Crockford
douglascrock... Send Email
Jul 27, 2008
9:12 pm
... You should write either for(var i, b; b == arr[i] ; i++){ or for(var i, b; (b = arr[i]); i++){ The way you have written it looks like a probable error....
122 montago_2004 Send Email Jul 27, 2008
9:36 pm
... used ... I guess you are a teacher... or a blast from the past [B-)]...
123 osteocosmosis Send Email Jul 28, 2008
10:03 am
... I've always assumed the headaches it saves are extended look-ups of the function that wastes time. Is this right? Or does it combat namespace pollution?...
124 santini.alberto Send Email Jul 28, 2008
4:48 pm
For the release 25/07, at line 2583 JSLint (run on itself) displays the message "Parens are not needed here." ... nexttoken, adsafe_id); } else if...
125 Re Miya
remiya_ws Send Email
Jul 28, 2008
6:47 pm
... Waste of time? I never thought about this....
126 osteocosmosis Send Email Jul 28, 2008
8:24 pm
The following 3-line script yields 1 message. I expected 2: /*jslint passfail: false, eqeqeq: true */ var table = new Array(27); var list = new Array(27); ==...
127 Douglas Crockford
douglascrock... Send Email
Jul 28, 2008
8:26 pm
... When I try it I see two errors, not one....
128 Kai Hendry
dadraqsta Send Email
Jul 29, 2008
3:41 pm
I wasted time whilst writing a test for http://www.w3.org/2008/06/mobile-test/ whereby I didn't anonymize a function that I should have done. Otherwise I would...
129 osteocosmosis Send Email Jul 30, 2008
1:42 pm
I am confused. I still get one error from ... Lint at line 2 character 19: Use the array literal notation []. var table = new Array(27); ... /*jslint...
130 montago_2004 Send Email Jul 31, 2008
3:40 pm
Block commenting can be used to switch between two similar functionalities - then by simply removing or adding a '*' in the first '/*/' you switch the two... ...
131 Jacob Davenport
jpdavenportjr Send Email
Jul 31, 2008
7:52 pm
Upon your advice (and one painful experience), I write my "for in" statements like this: for (var listName in listItems) if...
132 Michael Newton
mnewton32 Send Email
Jul 31, 2008
8:48 pm
... (listItems.hasOwnProperty(listName)) { ... The documentation says "JSLint expects blocks with function, if, switch, while, for, do, and try statements and...
133 Michael Newton
mnewton32 Send Email
Jul 31, 2008
8:53 pm
... ECMA says "Comments can be either single or multi-line. Multi-line comments cannot nest."...
134 montago_2004 Send Email Jul 31, 2008
11:36 pm
JSLINT is too strict ! var a = new Array(5); creates an empty array of length 5. what the heck is wrong with that code ? if i need an empty array then I'm...
135 Douglas Crockford
douglascrock... Send Email
Jul 31, 2008
11:57 pm
... That is a terrible practice. It is easy enough to program computers to do useful things. You shouldn't need to rely on silly tricks....
136 Douglas Crockford
douglascrock... Send Email
Aug 1, 2008
12:01 am
... Yes. At one time I was experimenting with that form. I was later persuaded that it was a bad for so I took it out. I am constantly experimenting with...
Messages 107 - 136 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help