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

Messages

Advanced
Messages Help
Messages 2900 - 2932 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
2900 douglascrockford
douglascrock... Send Email
Jun 11, 2012
9:15 pm
I will be giving a talk about the theoretical foundations of JSLint. http://www.meetup.com/TechXploration/events/65087252/...
2901 benquarmby Send Email Jun 21, 2012
12:47 am
Doug, I don't have a problem with this option, but I would like to suggest a stricter implementation of it's behavior. Instead of broadly catching the...
2902 Joe Martin
josephjoaqui... Send Email
Jun 26, 2012
5:09 pm
Iterating over an array backwards like: /*jslint plusplus: true */ var ii, foo = []; for (ii = foo.length; --ii;) { foo.push("hello"); } produces the error...
2903 Mike
z_mikowski Send Email
Jun 26, 2012
5:24 pm
This to me is clearly a situation of code being too clever for its own good. Simply write it out the statement in full. What's so hard about that? ... ...
2904 Joe Martin
josephjoaqui... Send Email
Jun 26, 2012
5:41 pm
... What I wrote is a pretty common pattern but that's beside the point. I just want to know if for loops are supposed to be either all parameters or no ...
2905 douglascrockford
douglascrock... Send Email
Jun 27, 2012
4:00 am
... Right. If all you need is a condition, use while. And don't get too tricky....
2906 archie172 Send Email Jun 30, 2012
3:30 pm
Hi, I've just starting using jslint and it's been very helpful. Thanks for making it available. For better or worse it combines what I'd call "correctness...
2907 douglascrockford
douglascrock... Send Email
Jun 30, 2012
3:45 pm
I recommend that you accept JSLint's advice....
2908 archie172 Send Email Jun 30, 2012
4:44 pm
... Thanks for the recommendation :-) Not sure what you're saying though... Are you saying "It's not a coding style issue" or are you saying "Everyone should...
2909 douglascrockford
douglascrock... Send Email
Jun 30, 2012
4:50 pm
... I am saying that I recommend that you accept JSLint's advice. If you have evidence that your "style" results in a significantly reduced error rate, then I...
2910 benquarmby Send Email Jul 1, 2012
10:31 am
While I'm not sure anyone would consider mixing single and double quotes to be an error (or look like an error, or be more error prone), mixing them does...
2911 douglascrockford
douglascrock... Send Email
Jul 1, 2012
1:01 pm
... My advice is to use "double quotes" for strings that are meaningful externally, like urls, html templates, and error messages; and to use 'single quotes'...
2912 John Hawkinson
john.hawkinson Send Email
Jul 1, 2012
3:05 pm
When you deal with strings that contain double quotes and strings that contain single quotes: "Warning: can't find token." 'Invalid input: "cheese"' it is...
2913 douglascrockford
douglascrock... Send Email
Jul 1, 2012
4:50 pm
... You should be glad to know that what you find annoying is not a consideration. I am concerned instead with correctness and readability....
2914 sandyhead25 Send Email Jul 2, 2012
5:15 pm
... Mixing of quotes can be a maintainability issue. In my own application I have all of my logic divided into libraries that are directly supplied to a...
2915 benquarmby Send Email Jul 3, 2012
9:34 pm
That sounds like good advice. Like you say though, difficult to verify. Would you analyze the contents of the string, or the subject of the assignment?...
2916 Cheney, Edward A SFC ...
sandyhead25 Send Email
Jul 4, 2012
5:51 pm
Classification: UNCLASSIFIED This following pattern is what passes in JSLint: var o = function () { ........"use strict"; ........var x = { ...
2917 mattman_iflaf Send Email Jul 6, 2012
1:48 pm
Hi, I know it might be a bit of an ask, but any chance of providing a python wrapper ? Just on the off chance you know Python as well as ruby... I don't know...
2918 douglascrockford
douglascrock... Send Email
Jul 11, 2012
7:31 pm
JSLint will now warn you if you leave TODO comments in your code. You can use option.todo to inhibit the warnings....
2919 Luke Page
page.luke... Send Email
Jul 11, 2012
8:13 pm
Thanks, we will find this useful. ... [Non-text portions of this message have been removed]...
2920 douglascrockford
douglascrock... Send Email
Jul 11, 2012
9:12 pm
... var o = function () { ........'use strict'; ........var x = { ................large: 0, ................css: { ....................body: "botyu" ...
2921 aceblchboy Send Email Jul 12, 2012
3:00 pm
I suppose that there is some legacy browser support issue, but hey, native controls. http://jsfiddle.net/CVRc8/4/...
2922 douglascrockford
douglascrock... Send Email
Jul 12, 2012
3:47 pm
... Hey, please let me know when this works everywhere....
2924 douglascrockford
douglascrock... Send Email
Jul 19, 2012
3:36 pm
JSLint will now warn if you write typeof x === 'null' || typeof x === 'undefined&#39; instead of x === null || x === undefined...
2925 spence.randall@...
spence.randa... Send Email
Jul 19, 2012
4:10 pm
I foresee a minor problem with this: in most browsers, undefined is not read-only and can be overwritten, which means if you have other code on a page outside...
2926 [MACSkeptic] Mozair A...
macskeptic Send Email
Jul 19, 2012
4:26 pm
If you are concerned that undefined might be redefined, you can always wrap your code with a self invoking function, right? Something like: (function...
2927 Michael
newmaniese Send Email
Jul 19, 2012
4:29 pm
JSLint will complain if you try to redefine undefined: Read only. undefined = "foo"; On Thu, Jul 19, 2012 at 12:26 PM, [MACSkeptic] Mozair Alves do Carmo...
2928 Deva Satyam
satyamutsa Send Email
Jul 19, 2012
4:36 pm
Even if you allow multiple var declaration, JSLint stops when if finds a variable defined within a for (). The problem is not so much that it reports an issue...
2929 Rob Richardson
erobrich@... Send Email
Jul 19, 2012
5:02 pm
If I am building a library and someone stupid consumes my library and also redefines undefined in a very foolish way, and my library breaks because of it, the...
2932 spence.randall@...
spence.randa... Send Email
Jul 21, 2012
11:51 pm
I'd like to hear from Douglas as to why the change and warning, we still don't know the reason for the change, so perhaps there is something we are missing. ...
Messages 2900 - 2932 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