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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 437 - 466 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
437 starie78 Send Email Apr 20, 2009
2:23 pm
Hi, Yes you were right - I knew I'd missed something obvious (first day back after Easter Hols so my brain not full functioning ;) ) I still have Error: ...
438 Merlin
harry152566 Send Email
Apr 20, 2009
2:46 pm
... Pending resolution of this issue, I've fixed Widget Tester (now version 8.0.5) so that it downloads from http://www.JSLint.com/fulljslint.js no more than...
439 mnewton32@...
mnewton32 Send Email
Apr 20, 2009
2:52 pm
Escape is not a good idea, or so I've been told. Use encodeURIComponent instead. Or I think that's it. Not at a PC right now. Sent from my BlackBerry device on...
440 Jakob Kruse
thekrucible Send Email
Apr 21, 2009
9:21 pm
I'm happy to announce an update to the JSLint Multi widget. The new widget has been submitted to Yahoo Widget Gallery, but they update very slowly, so for now,...
441 Douglas Crockford
douglascrock... Send Email
Apr 22, 2009
2:37 am
... http://www.JSLint.com/jslint.js will be kept in sync with fulljslint.js....
442 Merlin
harry152566 Send Email
Apr 23, 2009
12:00 am
Widget Tester Widget (version 8.0.7) with JSLint 2009-04-19 is now at http://tinyurl.com/5unocx . This version has an option to download and use the latest...
443 Douglas Crockford
douglascrock... Send Email
Apr 24, 2009
9:32 pm
JSLint now checks that the keys in a JSON object are all unique....
444 speedomodel@...
speedomodel... Send Email
Apr 24, 2009
9:55 pm
JSLint produces "Unexpected space" errors for the following: var myArray = [ 1 , 2 , 3 ]; Shouldn't having "Tolerate sloppy line breaking" on allow for this?...
445 Douglas Crockford
douglascrock... Send Email
Apr 25, 2009
9:43 pm
... I never imagined that someone would insert a line break before a comma. But I agree that "Tolerate sloppy" should allow it. It does now....
446 Jakob Kruse
thekrucible Send Email
Apr 26, 2009
9:48 am
Question: Did you really mean JSON object, or JavaScript object? JSLint will now complain if I have code such as this: ? var myJSON =...
447 kevin_hakanson Send Email Apr 27, 2009
4:43 pm
I was code reviewing some code, which is similar to the structure below: var x = { "y" : "not test"}; var z = x.y = "test"; It gets several errors, and the...
448 Douglas Crockford
douglascrock... Send Email
Apr 27, 2009
8:31 pm
... JSLint has looked at uniqueness in object literals for a long time. It now also looks for uniqueness in JSON objects....
449 Douglas Crockford
douglascrock... Send Email
Apr 27, 2009
10:18 pm
... JSLint will now accept var z = x.y = "test"; It will continue to reject var z = x = "test"; because a common error is to think that it means the same thing...
450 Stepan Reznikov
stepan.reznikov Send Email
Apr 28, 2009
8:43 am
... Maybe JSLint should reject it only when the x variable has not been declared before?...
451 Jakob Kruse
thekrucible Send Email
Apr 28, 2009
10:59 am
Hi, In my opinion ”var z = x = ”test”;” is bad programming style which can mask several errors. I’m glad that JSLint will warn me if I accidentally...
452 stepan.reznikov Send Email Apr 28, 2009
1:10 pm
I have this line of code: new Something(); and JSLint gives me this in its report: Error: Problem at line 7 character 9: 'new' should not be used as a...
453 Douglas Crockford
douglascrock... Send Email
Apr 28, 2009
5:26 pm
... new is used to construct new instances of objects. It should not be used for side effects. The next edition will downgrade to a warning....
454 pauanyu Send Email Apr 30, 2009
4:06 pm
Run the following code in JSLint: <html> <head> <style type="text/css"> div { /**/ } </style> </head> </html> Note the (incorrect) errors that come up: ...
455 pauanyu Send Email Apr 30, 2009
4:15 pm
... I personally use jEdit. It has a plugin that can run JSLint on your files, either when you save, or switch files....
456 Douglas Crockford
douglascrock... Send Email
Apr 30, 2009
5:58 pm
... They have been fixed. Thanks for the report....
457 Merlin
harry152566 Send Email
May 1, 2009
12:09 pm
Widget Tester Widget (version 8.2) with JSLint 2009-04-30 is now at http://tinyurl.com/5unocx . This version has the option to download and use the latest...
458 pauanyu Send Email May 1, 2009
4:23 pm
var global; (function () { var local; }()); Note that it lists local as Unused, but not global. I'm not sure if this is considered a bug or not, but it seems a...
459 Michael Lorton
mlorton Send Email
May 1, 2009
4:26 pm
In a formal sense, it's a bug, but how could it be fixed? A global variable might be used by a different script, or by a bit of Javascript in an event...
460 pauanyu Send Email May 1, 2009
4:31 pm
test = function () {}; self.test = function () {}; window.test = function () {}; test(); JSLint sees the first three lines as different, even though they are...
461 pauanyu Send Email May 1, 2009
4:36 pm
... As to your first point.. JSLint supports the /*global */ construct for global variables defined elsewhere....
462 Michael Lorton
mlorton Send Email
May 1, 2009
4:47 pm
The /*global */ tag solves the reverse problem: how tell if a variable used here is declared elsewhere. Perhaps we need a /*external */ tag that asserts a...
463 Jakob Kruse
thekrucible Send Email
May 1, 2009
4:53 pm
I believe that unless you are in a browser, ”test” would be undefined in this case. First example is missing a “var”, second and third defines...
464 pauanyu Send Email May 1, 2009
5:03 pm
... Yes, and there's an "assume a browser" option that specifies browser objects (like window). You also don't need a var to declare a global variable, but...
465 Jakob Kruse
thekrucible Send Email
May 1, 2009
8:25 pm
Actually, that is very common. The purpose of most libraries is to declare global variables for use elsewhere. /Jakob From: jslint_com@yahoogroups.com...
466 Jakob Kruse
thekrucible Send Email
May 1, 2009
8:37 pm
Again, the ”assume a browser” option of JSLint, AFAIK, only means that you don’t have to explicitly define the global object “window” and others. It...
Messages 437 - 466 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