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...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 35 - 67 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
35 Douglas Crockford
douglascrock... Send Email
May 6, 2008
9:10 pm
JSLint will now providing a warning for code like this: function foo(a) { var i; for (i = 0; i < a.length; i += 1) { a[i].onclick = function (e) { alert(i); };...
36 klemen.slavic Send Email May 7, 2008
9:50 pm
When constructing a singleton in JS using an anonymous constructor, JSlint returns a "Weird construction" error. Here's the code: /*globals A*/ A = new...
37 Alan Green
alanggreen Send Email
May 11, 2008
4:12 am
Hi Although this is really a javascript (not jslint) issue, could you explain why one should make the function valus in a closure. Thanks Alan ... make...
38 Douglas Crockford
douglascrock... Send Email
May 11, 2008
1:07 pm
... Drop the unnecessary new operator, then it will be correct....
39 Douglas Crockford
douglascrock... Send Email
May 11, 2008
1:10 pm
... The common failure case was shown in the example, attaching event handlers in a loop. If the event handlers are bound to variables that are mutated by the...
40 Douglas Crockford
douglascrock... Send Email
May 12, 2008
4:54 pm
When immediately invoking a function literal, parens must wrap the expression when it is used in the statement position because of an ambiguity in the grammar...
41 Douglas Crockford
douglascrock... Send Email
May 16, 2008
3:49 pm
JSLint now issues a warning if it sees the close script tag in a comment....
42 Douglas Crockford
douglascrock... Send Email
May 19, 2008
3:58 pm
I added the JSON object to the list of objects that are provided by the standard, in anticipation of the next edition of the ECMAScript standard....
43 Re Miya
remiya_ws Send Email
May 20, 2008
8:31 pm
In jQuery there is the following code when throwing error in an Ajax call: function (XMLHttpRequest, textStatus, errorThrown) { // typically only one of...
44 Douglas Crockford
douglascrock... Send Email
May 20, 2008
10:03 pm
Clearly that code is bad. How you fix it depends on what it is supposed to do. If you delete the line containing this; it will behave as it does now....
45 Re Miya
remiya_ws Send Email
May 21, 2008
4:28 am
I do not know what *this;* is intended to do. But because this is placed in the jQuery website official documentation for Ajax, I thought it might be some kind...
46 Jakob Kruse
thekrucible Send Email
May 22, 2008
10:55 am
Hi I would like to request for the indent level used/checked by jslint, when the whitespace option is turned on, to be made configurable, as an option. Reason:...
47 Thomas Koch
cluj_de Send Email
May 22, 2008
1:44 pm
Hi, I started today to explore jslint. My first problem was, to figure out, which jslint I actually need/want. There's jslint from Douglas Crockford which I've...
48 mflanagan_swim Send Email May 22, 2008
2:01 pm
I agree! I also modified the existing jslint, but I added an edit box so I could specify the value (so no hard-coding). But Douglas does such a good job of...
49 Douglas Crockford
douglascrock... Send Email
May 23, 2008
2:56 am
JSLint now accepts an indent parameter that allows setting the number of spaces of indentation when checking strict whitespace. The default is 4. It can be...
50 Jakob Kruse
thekrucible Send Email
May 23, 2008
5:49 am
... Great news. Thank you Douglas! /Jakob...
53 Kai
kaichen67 Send Email
May 24, 2008
5:39 pm
Hello! A few -more or less- philosophical questions regarding strict whitespace option: A)  Comment: JSLint doesn't like comments within function arg...
54 Douglas Crockford
douglascrock... Send Email
May 24, 2008
9:02 pm
... Fixed. Thanks. ... To be clear, an anonymous function is a function without a name, not a function named function....
56 Douglas Crockford
douglascrock... Send Email
May 27, 2008
11:53 pm
JSLint now accepts the "use strict" declaration. This is in anticipation of the next edition of ECMAScript. Strict mode will reject many problematic features...
57 Merlin
harry152566 Send Email
May 28, 2008
10:57 am
JSLint does not handle tabs correctly. Mostly, this does not matter, but it does matter when checking indentation. Some text editors allow tab-stops to be...
58 Jakob Kruse
thekrucible Send Email
May 28, 2008
11:06 am
I think it would be simpler, and probably better, if jslint could "enforce" (check that is) and either-or policy: either indentation is performed using spaces...
59 Merlin
harry152566 Send Email
May 28, 2008
7:22 pm
It is a good idea when offering code to get it right! Here is a corrected version of my recent post. function detab(data, tabspace) { var i, c, col = 0, out =...
60 Merlin
harry152566 Send Email
May 28, 2008
8:10 pm
... Tabs are not just bad , they are awful. They have been a source of trouble from the early days of computers. Unless you know where the tab-stops were...
61 Douglas Crockford
douglascrock... Send Email
May 29, 2008
1:58 pm
Tabs are problematic largely due to a lack of standardization. They are unnecessary, but still in significant use. JSLint now treats a tab as equivalent to the...
62 ps_praveenkr Send Email May 30, 2008
6:27 pm
Hi, function myFunc() { var v1 = { option: true }; var v2 = v1.option = false; }; JSLint throws the following error messages for the above code snippet: Error:...
63 Douglas Crockford
douglascrock... Send Email
May 30, 2008
6:32 pm
... You are using an assignment expression in a confusing context. Wrap it in parens to show that you are doing it intentionally. function myFunc() { var v1 =...
64 ps_praveenkr Send Email May 30, 2008
7:04 pm
I tried that but now I get: Error: Problem at line 3 character 10: Parens are not needed here. var v2 = (v1.option = false); I can ignore this message but my...
65 Douglas Crockford
douglascrock... Send Email
May 30, 2008
8:09 pm
... JSLint was in error. Please try it now....
66 ps_praveenkr Send Email May 30, 2008
8:56 pm
... That works. Thanks!...
67 Douglas Crockford
douglascrock... Send Email
Jun 1, 2008
6:22 am
The function report now includes urls that are found in html files....
Messages 35 - 67 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