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 2817 - 2846 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
2817 douglascrockford
douglascrock... Send Email
Mar 1, 2012
3:16 pm
... This is due to a bug in JScript. The bug has been there for well over a decade. I have adopted a pledge to no longer work around Microsoft's bugs. The...
2818 Martin Cooper
mfncooper Send Email
Mar 3, 2012
4:30 pm
... Where can we find that list? It's important that we can know the rules up front, and not discover them only when JSLint complains. -- Martin Cooper...
2819 Rob Richardson
erobrich@... Send Email
Mar 4, 2012
12:42 am
The library underscore.js (http://documentcloud.github.com/underscore/) exports a single variable: _ -- a single underscore. I've tried putting _ in my...
2820 Martin Cooper
mfncooper Send Email
Mar 4, 2012
1:04 am
... I agree. The same problem is encountered by everyone using Node.js who also wants to use JSLint, because Node.js creates the predefined variables __dirname...
2821 douglascrockford
douglascrock... Send Email
Mar 4, 2012
5:37 am
... Did you?...
2822 Cheney, Edward A SSG ...
sandyhead25 Send Email
Mar 4, 2012
5:00 pm
Classification: UNCLASSIFIED I cannot help but think this rule may be harmful. I understand the intention behind this rule and how that intention may apply to...
2823 spence.randall@...
spence.randa... Send Email
Mar 4, 2012
5:20 pm
You could simply write the example function as follows: var a = function (x) { "use strict"; if (typeof x === "undefined&quot;) { return; } //complex and time...
2824 Ben White
benxwhite Send Email
Mar 4, 2012
6:16 pm
I would suggest there is no need for the else statement. This would suffice, and JSLint throws no errors. var a = function (x) { "use strict"; if (typeof x ===...
2825 Martin Cooper
mfncooper Send Email
Mar 10, 2012
10:52 pm
... No, I did not. Converting everyone else's JavaScript to The Good Parts is not my crusade. As I said in the ticket, my goal is to ensure that the code that...
2826 bartman1c Send Email Mar 26, 2012
2:35 pm
I edit a greasemonkey script and I get this error now Error: Problem at line 373 character 19: Missing 'new'. GM_xmlhttpRequest({ Problem at line 415 character...
2827 douglascrockford
douglascrock... Send Email
Mar 26, 2012
3:33 pm
... Use the Tolerate uncapitalized constructors option....
2828 marcos.zanona Send Email Mar 26, 2012
5:33 pm
I would like to use the following statement so `this` is not DOMWindow anymore, although JSLint doesn't expect so see a `.`[dot] after (function(){...}) ... ...
2829 douglascrockford
douglascrock... Send Email
Mar 26, 2012
6:30 pm
... I see no value in using this in that position. Try the following instead. It is slightly smaller and faster. (function (that) { // `that` is now {} }({}));...
2830 marcos.zanona Send Email Mar 27, 2012
12:39 pm
It seems when defining: /*jslint es5:true*/ a = { get b () { return 'b value'; } } JSLint requires that a setter is also declared, although if the intention is...
2831 douglascrockford
douglascrock... Send Email
Mar 27, 2012
12:46 pm
... Good practice says to define them in pairs. Be explicit about the failure case....
2832 cse_html_validator
cse_html_val... Send Email
Mar 29, 2012
6:05 pm
... Well this is unfortunate. I updated am am getting reports of line #'s being off. I'd like to keep using JSLint, but I'm not sure if I can continue to do so...
2833 cse_html_validator
cse_html_val... Send Email
Mar 29, 2012
6:43 pm
... Or can the fix be put back in? I think that having to use the fix is unfortunate, but practicality would be on the side of working around MS bugs that are...
2834 Sean Kelly
seank_com Send Email
Mar 29, 2012
11:02 pm
You might look at node.js This has become my "go to" solution for running JavaScript locally. While it is designed to run really awesome web servers, and...
2835 douglascrockford
douglascrock... Send Email
Mar 30, 2012
6:08 pm
JSLint now warns when properties contain the substring 'Sync'. The use of that substring in Nodejs is to identify methods that can cause blockage. Such methods...
2836 cse_html_validator
cse_html_val... Send Email
Mar 30, 2012
7:56 pm
I may want to switch to node.js from WHS, but my setup uses wsh.js. Is there an equivalent that works the same as wsh.js but is for node.js instead of WSH?...
2837 John Hawkinson
john.hawkinson Send Email
Mar 30, 2012
9:00 pm
Isn't this misnamed? For those of us who write clean Javascript that doesn't depend on Node.js, why would we have to turn on a pejorative option name (tolerate...
2838 cse_html_validator
cse_html_val... Send Email
Mar 30, 2012
9:00 pm
... Thanks. I looked at it briefly, but I need an equivalent replacement for the code I posted in "Is there a node.js equivalent for wsh.js?". If I can get...
2839 douglascrockford
douglascrock... Send Email
Mar 30, 2012
9:02 pm
... No, it is very well named....
2840 Sean Kelly
seank_com Send Email
Mar 30, 2012
9:08 pm
Don't worry about being a JavaScript expert everyone has to start somewhere. I have found it very beneficial reading other peoples code. Look up anything you...
2841 Kirk Cerny
kirk.cerny Send Email
Mar 30, 2012
11:02 pm
Could the same be said about synchronous AJAX requests? [Non-text portions of this message have been removed]...
2842 douglascrockford
douglascrock... Send Email
Mar 30, 2012
11:20 pm
... Obviously....
2843 IcedNet Development T...
dwmcneil... Send Email
Mar 30, 2012
11:30 pm
Finally an option to rule them all... Peace, Dan...
2844 Martin Cooper
mfncooper Send Email
Mar 31, 2012
12:55 am
On Fri, Mar 30, 2012 at 11:08 AM, douglascrockford ... There are numerous valid and reasonable use cases for synchronous code in Node.js. To declare the use of...
2845 Mark Volkmann
mark_volkmann Send Email
Mar 31, 2012
2:08 am
I agree with Martin. Why not fix this by changing the name of the option to "sync" and have it default to false? ... R. Mark Volkmann Object Computing, Inc. On...
2846 Andy Dawson
using_yg_und... Send Email
Mar 31, 2012
10:35 am
Alternatively, all the other options could be renamed to follow the same convention so that all uses can consistently need to lookup what options mean instead...
Messages 2817 - 2846 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