Search the web
Sign In
New User? Sign Up
jslint_com · JSLint.com
? 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.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 94 - 123 of 993   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
94
The following code: <pre> function testEnvironment() { for (var i = 0; i < 10; i++) { (function (i) { console.log('Closure with i counting'); } (i)); } } ...
saj14saj
Offline Send Email
Jul 2, 2008
12:11 pm
95
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...
saj14saj
Offline Send Email
Jul 2, 2008
12:15 pm
96
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...
Andy Stevens
andystevens_...
Offline Send Email
Jul 2, 2008
5:16 pm
97
... Yes. ... JSLint has been around since 2001. But this group is a recent thing....
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 2, 2008
5:18 pm
98
... It has been fixed. Thank you for report it....
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 2, 2008
6:35 pm
99
... I have added a 'sub' option to JSLint. It turns off the check for suboptimal subscript notation....
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 4, 2008
1:25 pm
100
... /*jslint browser: true, sub: true */ window['alert']('ok');...
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 4, 2008
1:26 pm
101
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...
kevin_hakanson
Offline Send Email
Jul 9, 2008
4:21 pm
102
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...
Thomas Koch
cluj_de
Offline Send Email
Jul 9, 2008
8:25 pm
103
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...
Klemen SlaviÄ
klemen.slavic
Offline Send Email
Jul 9, 2008
8:51 pm
104
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...
saj14saj
Offline Send Email
Jul 11, 2008
6:12 pm
105
I 'redefine' 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. ...
osteocosmosis
Offline Send Email
Jul 15, 2008
5:11 pm
106
... Do not declare a name that is already declared. In this case, simply delete the word 'var'. padchar = ' ';...
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 15, 2008
5:14 pm
107
Yes. Of course. Thanks....
osteocosmosis
Offline Send Email
Jul 15, 2008
8:48 pm
108
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...
santini.alberto
Offline Send Email
Jul 16, 2008
11:22 am
109
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...
santini.alberto
Offline Send Email
Jul 18, 2008
12:21 pm
110
... Currently, I am not planning for a text report. I will consider your suggestion....
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 19, 2008
12:37 pm
111
... Finding those statically in general is very hard....
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 19, 2008
12:39 pm
112
I have removed the glovar option. It contracts a feature that might appear in a future edition of the language....
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 24, 2008
12:20 pm
113
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....
tonyorlando
Offline Send Email
Jul 26, 2008
5:12 am
114
... 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...
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 26, 2008
5:16 am
115
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...
montago_2004
Offline Send Email
Jul 27, 2008
11:12 am
116
doit(); function doit(){ } //----- In ANSI-C its crusial that functions are defined before they are used - either 'physically' or by a shadow in the...
montago_2004
Offline Send Email
Jul 27, 2008
11:12 am
117
... 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...
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 27, 2008
11:19 am
118
... I recommend that you heed JSLint's advice and declare your functions before you call them....
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 27, 2008
11:20 am
119
Yes, this is a good advice. It saves a lot of headaches. ... From: Douglas Crockford <douglas@...> To: jslint_com@yahoogroups.com Sent: Sunday, 27...
re miya
remiya_ws
Offline Send Email
Jul 27, 2008
12:11 pm
120
... the option doesn't apply to the for-loop... the "error" is still there...
montago_2004
Offline Send Email
Jul 27, 2008
9:10 pm
121
... 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....
Douglas Crockford
douglascrock...
Online Now Send Email
Jul 27, 2008
9:12 pm
122
... used ... I guess you are a teacher... or a blast from the past [B-)]...
montago_2004
Offline Send Email
Jul 27, 2008
9:36 pm
123
... 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?...
osteocosmosis
Offline Send Email
Jul 28, 2008
10:03 am
Messages 94 - 123 of 993   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

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