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: 586
  • 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 1446 - 1475 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
1475 Rob Richardson
erobrich@... Send Email
Sep 10, 2010
2:56 pm
It seems effective to identify if a variable is defined as a function (either var f = function () {... or function f() {...) or not and whine if it switches or...
1474 Cheney, Edward A SSG ...
sandyhead25 Send Email
Sep 9, 2010
11:03 pm
Icebox, You cannot avoid having at least one global variable name. The only way a variable stops being global is from containment by a function, but at some...
1473 IceBox
santini.alberto Send Email
Sep 9, 2010
6:56 am
... Typo in the typo... :) I mean "foo" is considered global. Regards, Alberto...
1472 IceBox
santini.alberto Send Email
Sep 9, 2010
6:52 am
JSLint doesn't report any error, because "foos" is considered global. Any suggestion to avoid that error? Thanks in advance, Alberto ... "use strict"; function...
1471 Douglas Crockford
douglascrock... Send Email
Sep 9, 2010
1:12 am
JSLint now warns about arguments.callee and arguments.caller. These will not be available in future editions of the language, so it is best to start avoiding...
1470 sandyhead25 Send Email Sep 5, 2010
12:51 pm
Marcel, String replace would certainly be faster, because such instructions pass to the same code base on which the JavaScript interpreter sits. String...
1469 Marcel Duran
marcelduran Send Email
Sep 5, 2010
5:46 am
What if you use regular expression with String.replace, you have a list of index plus you can alter the source data. Ex: var re = /<style/gi, str =...
1468 AlexDMiller Send Email Sep 4, 2010
3:40 am
Hello JavaScript enthusiasts, I'm the organizer of the Strange Loop conference in St. Louis. This year's conference will contain a number of interesting...
1467 Cheney, Edward A SSG ...
sandyhead25 Send Email
Sep 4, 2010
2:59 am
Marcel, I did consider those. The limitation of indexOf method is that it can only be used once without altering your source data, and regular expression...
1466 Marcel Duran
marcelduran Send Email
Sep 4, 2010
1:17 am
Hi Austin, It's hard to tell why it's slower/faster without checking the algorithm implemented for slice on different engines. I did some background research ...
1465 Marcel Duran
marcelduran Send Email
Sep 4, 2010
1:02 am
For those who haven't seen already: http://closuretools.blogspot.com/2010/08/introducing-closure-linter.html ...
1464 Cheney, Edward A SSG ...
sandyhead25 Send Email
Sep 3, 2010
8:35 pm
Group, I am trying to figure out why slice appears to be slower when executed upon a large string than merely pointing to a group of indexes. My presumption...
1463 Cheney, Edward A SSG ...
sandyhead25 Send Email
Aug 31, 2010
2:28 pm
I mostly agree with the post in that the style's available from a language are resultant from the syntax rules and allowances provided by the interpretation of...
1462 Douglas Crockford
douglascrock... Send Email
Aug 30, 2010
10:53 pm
http://weblogs.mozillazine.org/roc/archives/2010/07/coding_style_as.html...
1461 Jim Auldridge
jaaulde Send Email
Aug 30, 2010
5:19 pm
It appears the comparison I had modified for testing purposes was comparing a value to 0, for which the Lint requires === regardless of the setting of eqeqeq....
1460 Jim Auldridge
jaaulde Send Email
Aug 30, 2010
5:12 pm
Harry, Thanks for your time. In trying a reduced test case on the web version, I do see it working correctly. I will re-run my original test case and update...
1459 Harry Whitfield
harry152566 Send Email
Aug 30, 2010
5:09 pm
... if (2 == 2) { } I've also run the above in Widget Tester using JSLint edition 2010-08-25. I am seeing correct behaviour in both cases, with eqeqeq set to...
1458 Harry Whitfield
harry152566 Send Email
Aug 30, 2010
4:57 pm
... if (2 == 2) { } I've just run the above in Widget Tester and in the version of JSLint at http://www.JSLint.com/ . Both use edition 2010-08-28. I am seeing...
1457 Jim Auldridge
jaaulde Send Email
Aug 30, 2010
4:39 pm
I was testing a command line version of JSlint and noticed that == and != are disallowed no matter what I set eqeqeq to. i am running the version from 25 Aug...
1456 g2223060 Send Email Aug 26, 2010
5:53 pm
I agree about the leading dot- it is an obvious hint that the line continues the one above it. I dislike the trailing dot on the previous line. I think DC...
1455 Douglas Crockford
douglascrock... Send Email
Aug 26, 2010
12:57 pm
... I made the same decision as well, and I now believe that decision was incorrect. I recommend that you update your code....
1454 Frederik Dohr
ace_noone Send Email
Aug 26, 2010
7:19 am
... I would prefer this as well. My colleagues and I made a conscious decision to use a trailing dot to indicate line continuation, which turned out positive...
1453 abyssoft@...
abyssoft... Send Email
Aug 26, 2010
1:59 am
Austin, Point well taken. And, thank you for the explanation. It clarify the why and the when. George...
1452 Rob Richardson
erobrich@... Send Email
Aug 26, 2010
12:09 am
I prefer to indent long chains by putting the dot at the beginning of the next line like so: var bar = foo .replace('o', '0') .click(function () { ...
1451 Mark Volkmann
mark_volkmann Send Email
Aug 25, 2010
10:55 pm
... This is how I indent long chains of method calls. ... -- R. Mark Volkmann Object Computing, Inc....
1450 Jean-Charles Meyrignac
jcmeyrignac Send Email
Aug 25, 2010
10:52 pm
... As a C coder, I prefer the following: function func1(foo) { var bar = foo .replace('o', '0') .replace('a', '4'); return bar; } In my opinion, the dot...
1449 Marcel Duran
marcelduran Send Email
Aug 25, 2010
10:44 pm
Couldn't it be optional? I believe this is useful when indenting long chain of methods like some popular JS frameworks do. The following although correct...
1448 Douglas Crockford
douglascrock... Send Email
Aug 25, 2010
10:17 pm
JSLint now requires that there be no whitespace or line break between a . and a property name. This has always been a good practice, and is now especially...
1447 Douglas Crockford
douglascrock... Send Email
Aug 25, 2010
7:51 pm
TC39 is currently discussing this problem: Suppose you mistype ';' as '.'. var x=foo. if (a>b) -bar; It will be read as var x = foo.if(a > b) - bar; ES3 will...
1446 Cheney, Edward A SSG ...
sandyhead25 Send Email
Aug 25, 2010
3:28 pm
George, To be fair it is unlikely that Unicode will become a functional part of the web, content aside, until RFC 3897 gains some traction over RFC 3896, which...
Messages 1446 - 1475 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