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...
Message search is now enhanced, find messages faster. Take it for a spin.

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 15 - 44 of 993   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
15
When confronted with a number literal like .0725 JSLint no longer reports Don't use extra leading zeros '0725'. but it does report A leading decimal point can...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 2, 2008
9:20 pm
16
I added a warning to the web page edition at http://www.JSLint.com/: WARNING: JSLint will hurt your feelings. I relaxed the ADsafe restriction on the [ ]...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 5, 2008
3:04 pm
17
I have added a glovar option. When glovar: true, then var cannot be used to declare global variables. Fiann O'Hagan convinced me that many programmers have a...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 8, 2008
11:31 pm
18
I relaxed ADsafe to allow limited access to the standard globals....
Douglas Crockford
douglascrock...
Offline Send Email
Apr 9, 2008
11:51 pm
19
... Do you think it would be a good idea to include a version comment in the JSLint source file? I'm working on something and I think it would be good to say...
hass0002
Offline Send Email
Apr 10, 2008
2:32 am
20
... I use dates....
Douglas Crockford
douglascrock...
Offline Send Email
Apr 10, 2008
3:28 am
21
Hello, I got this error from jslint: Unsafe character. fn("FAILED—" + message); The '—' is char 226 or 0xe2. It is not ascii, but I was wondering why it ...
Cory Bennett
corynbennett
Offline Send Email
Apr 14, 2008
8:44 am
22
... why it ... There are characters that are handled inconsistently in the various implementations, and so must be escaped when placed in strings, and must...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 14, 2008
5:39 pm
23
Hi, I have created an MSBuild task that can be used to automate the process of running the JSLint tool on Javascript files. You can read about it on my blog at...
hass0002
Offline Send Email
Apr 15, 2008
5:30 am
24
I added arguments to the set of excluded members. The set now contains apply arguments call callee caller constructor eval prototype unwatch valueOf watch...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 15, 2008
4:26 pm
25
escape & unescape do not do url encoding correctly and they are not in the official standard. JSLint no longer accepts them. If you want JSLint to pass crappy...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 16, 2008
2:04 am
26
... Hello Douglas, This is the first time I heard that escape and unescape do not do URL encoding correctly, and are not in the official standard. Where can I ...
Re Miya
remiya_ws
Offline Send Email
Apr 16, 2008
6:17 pm
27
The ECMAScript standard reserves the following words: abstract boolean byte char double final float implements int interface long native package private...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 17, 2008
6:08 pm
28
... See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/js56jsmthescape.asp...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 17, 2008
6:30 pm
29
JSLint now rejects a string that starts with 'javascript:'. It previously rejected a string that contained 'javascript:'. Thanks to Timo....
Douglas Crockford
douglascrock...
Offline Send Email
Apr 18, 2008
9:27 pm
30
I corrected an error in JSLint that created a scope around labeled statements. function a() { foo: for (var i = 0; false;) { } return i; } As a result, it used...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 18, 2008
11:14 pm
31
I've already asked Douglas this question before, and I know that JsLint has to hurt my feelings, but I don't understand the need for this check. For a...
Julien R
julien_roy
Offline Send Email
Apr 21, 2008
3:03 pm
32
Hello. In my javascript files I define, as first line, a namespace like var FOO = YAHOO.namespace("foo"); // alias for YAHOO.foo using Yahoo! User Interface...
santini.alberto
Offline Send Email
Apr 28, 2008
4:33 pm
33
/*global FOO*/ FOO = YAHOO.namespace("foo");...
Douglas Crockford
douglascrock...
Offline Send Email
Apr 28, 2008
5:01 pm
34
... Ops... so simple! :) I missed that because I deleted 'var' and I get "'FOO' is undefined.". The tricky part is adding /*global FOO */. Thanks again, ...
santini.alberto
Offline Send Email
Apr 29, 2008
9:38 am
35
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); };...
Douglas Crockford
douglascrock...
Offline Send Email
May 6, 2008
9:10 pm
36
When constructing a singleton in JS using an anonymous constructor, JSlint returns a "Weird construction" error. Here's the code: /*globals A*/ A = new...
klemen.slavic
Offline Send Email
May 7, 2008
9:50 pm
37
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...
Alan Green
alanggreen
Offline Send Email
May 11, 2008
4:12 am
38
... Drop the unnecessary new operator, then it will be correct....
Douglas Crockford
douglascrock...
Offline Send Email
May 11, 2008
1:07 pm
39
... 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...
Douglas Crockford
douglascrock...
Offline Send Email
May 11, 2008
1:10 pm
40
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...
Douglas Crockford
douglascrock...
Offline Send Email
May 12, 2008
4:54 pm
41
JSLint now issues a warning if it sees the close script tag in a comment....
Douglas Crockford
douglascrock...
Offline Send Email
May 16, 2008
3:49 pm
42
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....
Douglas Crockford
douglascrock...
Offline Send Email
May 19, 2008
3:58 pm
43
In jQuery there is the following code when throwing error in an Ajax call: function (XMLHttpRequest, textStatus, errorThrown) { // typically only one of...
Re Miya
remiya_ws
Offline Send Email
May 20, 2008
8:31 pm
44
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....
Douglas Crockford
douglascrock...
Offline Send Email
May 20, 2008
10:03 pm
Messages 15 - 44 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