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

Messages

Advanced
Messages Help
Messages 1597 - 1626 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
1626 Jakob Kruse
thekrucible Send Email
Nov 22, 2010
7:16 am
JSLint (with the strict whitespace option) does not support the way you write an array. Specifically it does support a line break after a comma, but not...
1625 Erik Eckhardt
vorpalmage Send Email
Nov 22, 2010
1:41 am
*Edward*, You are right that votes don't make something right. It is also true that when we are talking in the area of style, the opinion of a great quantity ...
1624 abyssoft@...
abyssoft... Send Email
Nov 21, 2010
11:20 pm
given the following snippet where » are tabs (4 space) and ---------- are begin and end markers. (the blank line after the start marker is intentional) ... ...
1623 abyssoft@...
abyssoft... Send Email
Nov 21, 2010
11:13 pm
... I too agree that it should not be encouraged. I'm also a subscriber to the one exit point methodology/style as well. Multiple exit points tends to lead to...
1622 Marcel Duran
marcelduran Send Email
Nov 20, 2010
4:42 am
... +1 -- Marcel Duran [Non-text portions of this message have been removed]...
1621 Chris
altearius Send Email
Nov 20, 2010
3:55 am
Hello, This seems like a reasonable suggestion. I can see the appeal of the alternative style proposed here. I see nothing unclear or obscure about the...
1620 Paul
merlin_80000 Send Email
Nov 19, 2010
9:29 pm
I agree with the OP. I use the continue statement in exactly the same manner and have trouble understanding the objection to responsible use of the continue...
1619 Cheney, Edward A SSG ...
sandyhead25 Send Email
Nov 19, 2010
9:00 pm
Erik, ... I deleted my Stack Overflow account in late spring. Popularity is not a correlation to accuracy. ... There is nothing wrong with multiple exit...
1618 Marcel Duran
marcelduran Send Email
Nov 19, 2010
6:54 am
Hi Carlos, I really like your solution, it's much clearer. As I mentioned this is an old code I wrote a few years ago which uses label/brake, I certainly won't...
1617 Carlos Vadillo
c_vadillo Send Email
Nov 19, 2010
6:36 am
... I think you can always write an alternative code that conveys better your intentions: var changeCSS = function (selector, property, value) { var i, rules, ...
1616 Erik Eckhardt
vorpalmage Send Email
Nov 18, 2010
11:18 pm
Austin, The example was: for (name in obj) { if (!obj.hasOwnProperty(name)) {continue;} ... } In my opinion this is little different than this greatly-upvoted...
1615 Cheney, Edward A SSG ...
sandyhead25 Send Email
Nov 18, 2010
10:23 pm
Erik, The problem with the continue statement is that its use obscures logic. It is clear that a loop will break or it is endless. An endless loop is...
1614 Erik Eckhardt
vorpalmage Send Email
Nov 18, 2010
9:53 pm
Douglas, The only thing I could find about continue related to jslint was a one-liner: Avoid use of the continue statement. It tends to obscure the control...
1613 Marcel Duran
marcelduran Send Email
Nov 18, 2010
8:56 pm
Here's an old function from a greasemonkey script I wrote a few years ago that uses label and break instead of a bunch of control variables to properly break...
1612 Chris
altearius Send Email
Nov 18, 2010
8:46 pm
... This works fine, thank you!...
1611 Douglas Crockford
douglascrock... Send Email
Nov 18, 2010
8:38 pm
... Please try it now....
1610 Chris
altearius Send Email
Nov 18, 2010
8:02 pm
... This works fine, thank you!...
1609 Chris
altearius Send Email
Nov 18, 2010
7:49 pm
... Hello, Here is a snippet that will produce the "Dangerous Comment" message with all JSLint options in their default state (off): <html> <head> <script> //...
1608 Douglas Crockford
douglascrock... Send Email
Nov 18, 2010
7:47 pm
... Please try it now....
1607 abyssoft@...
abyssoft... Send Email
Nov 18, 2010
7:23 pm
Interesting, but I am not able to replicate the error. I've tried various formatting of a comment. can you provide a snippet I'd love to see this....
1606 Chris
altearius Send Email
Nov 18, 2010
5:17 pm
Hello, Lines 3069 through 3072 of fulljslint.js specify the allowed values for the CSS "border-style" attribute:...
1605 Michael Mikowski
z_mikowski Send Email
Nov 18, 2010
2:35 am
Actually, Douglas, My standards do follow your recommendations about filtering; unfortunately, the example I contrived does not. The intent there was to show...
1604 Chris
altearius Send Email
Nov 18, 2010
1:52 am
Hello, Line 1481 of fulljslint.js warns us of potentially dangerous comments. It does this using a regular expression in the variable "ax", defined on line...
1603 Chris
altearius Send Email
Nov 18, 2010
1:42 am
... This works fine, thank you!...
1602 Douglas Crockford
douglascrock... Send Email
Nov 17, 2010
8:44 pm
... Please try it now....
1601 Chris
altearius Send Email
Nov 17, 2010
7:57 pm
Hello, When checking CSS, JSLint validates color names. There is a long list of supported color names on lines 387 - 525 of fulljslint.js: ...
1600 Chris
altearius Send Email
Nov 17, 2010
7:30 pm
... This works fine, thank you!...
1599 Erik Eckhardt
vorpalmage Send Email
Nov 17, 2010
6:49 pm
Could you elaborate on that? I'd love to get on the bandwagon but don't know why you would say that. On Wed, Nov 17, 2010 at 10:02 AM, Douglas Crockford ... ...
1598 Rob Richardson
erobrich@... Send Email
Nov 17, 2010
6:46 pm
goto is evil. ... From: jslint_com@yahoogroups.com [mailto:jslint_com@yahoogroups.com] On Behalf Of Michael Mikowski Sent: Wednesday, November 17, 2010 11:26...
1597 Douglas Crockford
douglascrock... Send Email
Nov 17, 2010
6:35 pm
... The purpose of JSLint is not to make you feel good about inadequate coding standards. Since you are refusing to consider my advice to avoid continue, then...
Messages 1597 - 1626 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help