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: 584
  • Category: JavaScript
  • Founded: Mar 7, 2008
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 94 - 123 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
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?...
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-)]...
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....
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...
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...
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....
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...
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...
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...
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...
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....
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....
111 Douglas Crockford
douglascrock... Send Email
Jul 19, 2008
12:39 pm
... Finding those statically in general is very hard....
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....
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...
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...
107 osteocosmosis Send Email Jul 15, 2008
8:48 pm
Yes. Of course. Thanks....
106 Douglas Crockford
douglascrock... Send Email
Jul 15, 2008
5:14 pm
... Do not declare a name that is already declared. In this case, simply delete the word 'var'. padchar = ' ';...
105 osteocosmosis Send Email Jul 15, 2008
5:11 pm
I 'redefine&#39; padchar in the following. Is there a workaround? Yes, I can copy it into another variable, but the code is actually okay as it is. ...
104 saj14saj Send Email Jul 11, 2008
6:12 pm
Thank you, that is wonderful. I really appreciate the tool, which I use frequently, because I think it saves me lots of time debugging, and I also appreciate...
103 Klemen SlaviÄ
klemen.slavic Send Email
Jul 9, 2008
8:51 pm
Hello, While I don't think there's a "one paradigm to rule them all," I can testify to the elegant extension methods that jQuery employs in its plugin...
102 Thomas Koch
cluj_de Send Email
Jul 9, 2008
8:25 pm
Hi, can somebody recommend me some small pieces of javascript code, that I can study to improve my coding style? I already study YUI, but it is to large to...
101 kevin_hakanson Send Email Jul 9, 2008
4:21 pm
First, thanks for making updates to JSLint based on this groups comments. It's easiest just to quote another source for this request: "The escape and unescape...
100 Douglas Crockford
douglascrock... Send Email
Jul 4, 2008
1:26 pm
... /*jslint browser: true, sub: true */ window['alert']('ok&#39;);...
99 Douglas Crockford
douglascrock... Send Email
Jul 4, 2008
1:25 pm
... I have added a 'sub' option to JSLint. It turns off the check for suboptimal subscript notation....
98 Douglas Crockford
douglascrock... Send Email
Jul 2, 2008
6:35 pm
... It has been fixed. Thank you for report it....
97 Douglas Crockford
douglascrock... Send Email
Jul 2, 2008
5:18 pm
... Yes. ... JSLint has been around since 2001. But this group is a recent thing....
96 Andy Stevens
andystevens_... Send Email
Jul 2, 2008
5:16 pm
Hi, Would I be right in thinking the "download"; version of jslint.js linked to on http://www.jslint.com/rhino/index.html is a concatenation of...
95 saj14saj Send Email Jul 2, 2008
12:15 pm
I understand and agree with the warning about dot notation in general. My use case for requesting a configuration option to disable it is this: I am parsing an...
94 saj14saj Send Email Jul 2, 2008
12:11 pm
The following code: <pre> function testEnvironment() { for (var i = 0; i < 10; i++) { (function (i) { console.log('Closure with i counting'); } (i)); } } ...
Messages 94 - 123 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

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