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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 302 - 331 of 993   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
302
... Application/javascript is not working with IE. I will them continue to use and to recommend type="text/javascript" in every <script> About DOCTYPE, all...
Fred Lorrain
grumelo68
Offline Send Email
Nov 3, 2008
8:17 am
303
This line works: var y = (arr[2] || "").toLowerCase(); This one doesn't (see output below): (arr[2] || "").toLowerCase(); By itself, that expression isn't very...
crlender
Offline Send Email
Nov 5, 2008
3:04 am
304
... JSLint now accepts statements like that. JSLint now treats let as a reserved word in anticipation of future standards....
Douglas Crockford
douglascrock...
Offline Send Email
Nov 8, 2008
12:16 am
305
... Wow, that was fast. Tested and confirmed. Thanks! - Conrad...
crlender
Offline Send Email
Nov 8, 2008
10:21 am
306
I have the following (useless) snippet: foo = 1; function bar() {} Ok... foo is implied global: I can resolve it with /*global foo */. Why is bar not an...
santini.alberto
Offline Send Email
Nov 10, 2008
5:31 pm
307
... Can you suggest a case in which this would be useful?...
Douglas Crockford
douglascrock...
Offline Send Email
Nov 10, 2008
6:58 pm
308
On Mon, Nov 10, 2008 at 5:31 PM, santini.alberto ... The following two statements are always exactly equivalent: function bar () {} var bar = function () {} ...
Daniel Cassidy
mail@...
Send Email
Nov 11, 2008
3:22 pm
309
... Sorry for the delay... Usually I use the namespace approach or pseudo-block (function () {...}); In some cases, for instance, I forget the namespace part...
santini.alberto
Offline Send Email
Nov 18, 2008
10:47 am
310
... the namespace approach or pseudo-block (function () {...}); ... I do not understand the benefit of this warning....
Douglas Crockford
douglascrock...
Offline Send Email
Nov 19, 2008
4:14 pm
311
JSLint now checks that member names in object literals are not duplicated....
Douglas Crockford
douglascrock...
Offline Send Email
Nov 20, 2008
1:51 am
312
... For sure I have been missing something... :) I thought a global function was evil, but I see the misunderstanding. If I lint (JSLINT) the code "function...
santini.alberto
Offline Send Email
Nov 20, 2008
1:21 pm
313
JSLint now warns when HTML attributes are not separated by a space....
Douglas Crockford
douglascrock...
Offline Send Email
Nov 25, 2008
4:48 pm
314
I have added a new option: [ ] Require Initial Caps for constructors (option.newcap) I highly recommend that you always turn this option on. If you call a...
Douglas Crockford
douglascrock...
Offline Send Email
Nov 26, 2008
6:32 pm
315
... Because the Yahoo! JSLint Widget is now very out of date, I offer my Widget Tester Widget (which includes JSLint) at http://tinyurl.com/5unocx . I...
Merlin
harry152566
Offline Send Email
Nov 27, 2008
2:50 pm
316
Hi, while checking a script and reducing a lot of flaws in it with the webjslint, the following message came up: Problem at line 130 character 34: 'escape' is...
michael.gollmick
michael.goll...
Offline Send Email
Dec 7, 2008
12:02 pm
317
Don't use escape. Use encodeURI or encodeURIComponent instead....
Douglas Crockford
douglascrock...
Offline Send Email
Dec 7, 2008
2:41 pm
318
... But what if the server can't handle UTF-8 encoded characters? Many legacy applications are stuck with escape/unescape. - Conrad...
crlender
Offline Send Email
Dec 7, 2008
2:46 pm
319
... /*global escape */...
Douglas Crockford
douglascrock...
Offline Send Email
Dec 7, 2008
4:44 pm
320
... absolutely - that was my solution too ;-) I just thought every browser implements that extension to the ECMA Script and thus expected it to disappear with...
michael.gollmick
michael.goll...
Offline Send Email
Dec 7, 2008
9:30 pm
321
The documentation suggests that this should work: /*jslint newcap: true */ or /*jslint newcap: false */ However, JSLint itself complains about this being a...
Chris
altearius
Offline Send Email
Dec 11, 2008
9:31 pm
322
... Thanks for the report....
Douglas Crockford
douglascrock...
Offline Send Email
Dec 12, 2008
1:59 am
323
Maybe I am a bit out of topic, but the subject is the foundation of JSlint. :) Reading "Top Down Operator Precedence" paper [1] and trying to use his ...
santini.alberto
Offline Send Email
Dec 12, 2008
3:04 pm
324
When JSLint encounters a serious error, it stops. Is it possible to program in a error handling statement that breaks out of that block, outputs that lines x-y...
aceblchboy
Offline Send Email
Dec 13, 2008
5:49 pm
325
... Just fix your code. Hooking JSLint into your editor can be very effective....
Douglas Crockford
douglascrock...
Offline Send Email
Dec 13, 2008
5:51 pm
326
Hi, JSLint forbids the following form: var a = var b = foo(); // Expected an identifier and instead saw 'var'. Is this intentional? It can occasionally be...
Daniel Cassidy
mail@...
Send Email
Dec 16, 2008
2:24 pm
327
Hi, With 'assume browser' turned on, JSLint rejects the following: if (n instanceof Document) { // 'Document' is undefined // ... } Shouldn't the DOM classes...
Daniel Cassidy
mail@...
Send Email
Dec 16, 2008
2:30 pm
328
... Of course....
Douglas Crockford
douglascrock...
Offline Send Email
Dec 16, 2008
3:00 pm
329
... My understanding is that these are not universally implemented in all browsers, and so represent a portability trap....
Douglas Crockford
douglascrock...
Offline Send Email
Dec 16, 2008
3:01 pm
330
I believe the var declaration is not legal as the right side of a statement; it would require 'var b' to return a value, which it does not. Try: var a, b; a =...
mnewton32@...
mnewton32
Offline Send Email
Dec 16, 2008
3:26 pm
331
... Uhh... sorry. It is of course a syntax error. Chalk that one up to temporary insanity on my part. I was thinking of another language where "var b" is an...
Daniel Cassidy
mail@...
Send Email
Dec 16, 2008
4:02 pm
Messages 302 - 331 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