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: 585
  • 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 3056 - 3086 of 3202   Newest  |  < Newer  |  Older >  |  Oldest
Messages: Simplify | Expand Author Sort by Date v
3086 douglascrockford
douglascrock... Send Email
Dec 27, 2012
7:32 pm
... I completely agree. It is wise to wrap regexp literals in parens to avoid syntactic weirdness. But that is not what JSLint is complaining about. Try this: ...
3085 sandyhead25 Send Email Dec 27, 2012
7:21 pm
There appears to be a new rule that looks for unnecessary parenthesis, but this rule gets confused when wrapping regex: var mhtml = true, disqualify = (mhtml)...
3084 rodobrist Send Email Nov 27, 2012
12:28 am
... Ok, thanks Doug. I suppose that construct is less prone to errors....
3083 douglascrockford
douglascrock... Send Email
Nov 26, 2012
11:38 pm
... function array_to_object(array) { var result = {}; array.forEach(function (key) { result[key] = true; }); return result; }...
3082 rodobrist Send Email Nov 26, 2012
11:34 pm
... No, I know when to use each method. Ill try to give another example, the JSLint source uses a method named array_to_object, which can be re-written like...
3080 douglascrockford
douglascrock... Send Email
Nov 26, 2012
12:51 pm
... I think the error may be that you are using the wrong method: reduce when you should forEach. I am not sure how to test for that....
3079 rodobrist Send Email Nov 26, 2012
1:59 am
Hi guys, I was coding and I noticed that I often make the same error from using reduce. e.g. var options = ['nocaps&#39;, 'evil', 'node', 'browser&#39;], ...
3078 Joe Hansche
joeatrr Send Email
Nov 20, 2012
7:26 am
Hallelujah. ... [Non-text portions of this message have been removed]...
3077 cse_html_validator
cse_html_val... Send Email
Nov 19, 2012
11:24 pm
... Great. It doesn't abort/stop anymore. Thanks....
3076 douglascrockford
douglascrock... Send Email
Nov 19, 2012
8:36 pm
... It causes no harm on all of the other browsers. I recommend that you report it to Microsoft instead. For over a decade we have tried to work around IE's...
3075 jontro123 Send Email Nov 19, 2012
11:27 am
The following code causes an error in internet explorer: var window; "SCRPT5039: Redeclaration of const property line 1 character 1" For us it would be useful...
3074 Felix E. Klee
feklee Send Email
Nov 18, 2012
9:47 am
On Sun, Nov 18, 2012 at 3:23 AM, douglascrockford ... Furthermore, in XHTML tags have to be in lower case: <http://www.w3.org/TR/xhtml1/#h-4.2>...
3073 Owen
eclipsechasers2 Send Email
Nov 18, 2012
6:48 am
I am trying to analyze some code I've inherited which does this 20+ times. I can wrap each of them in divs if need be; that just seems like "busy work",...
3072 douglascrockford
douglascrock... Send Email
Nov 18, 2012
2:55 am
... Please try it now....
3071 douglascrockford
douglascrock... Send Email
Nov 18, 2012
2:23 am
The Tolerate HTML Case option was one of the first options added to JSLint. HTML tags were originally written in upper case, but tastes changed and now they...
3070 douglascrockford
douglascrock... Send Email
Nov 18, 2012
2:21 am
... Why do you want to put a script in a fieldset?...
3069 Owen
eclipsechasers2 Send Email
Nov 16, 2012
3:31 pm
While using jslint on some html with inline script, I run into the following error: A '<script>' must be within '< body div frame head iframe p pre span >'. ...
3068 cse_html_validator
cse_html_val... Send Email
Nov 15, 2012
10:47 pm
... The "marquee" tag. Yes, it's a "bad" tag, and I've suggested they use the CSS marquee properties instead, but I suspect they would prefer to address more...
3067 douglascrockford
douglascrock... Send Email
Nov 13, 2012
10:08 pm
... What tag?...
3066 cse_html_validator
cse_html_val... Send Email
Nov 13, 2012
10:06 pm
Is there a way to get JSLint to recognize new tags via an option? I have a customer who can't make as good use of JSLint in CSE HTML Validator because it is...
3065 Joshua Bell
inexorabletash Send Email
Oct 23, 2012
12:01 am
... That would be the ECMAScript binding of WebIDL: http://dev.w3.org/2006/webapi/WebIDL/#ecmascript-binding Web standards typically define IDL fragments and...
3064 douglascrockford
douglascrock... Send Email
Oct 22, 2012
4:53 pm
... That document describes a rather large number of interfaces, which may be interesting in the abstract because JavaScript, as you know, does not have...
3063 Felix E. Klee
feklee Send Email
Oct 22, 2012
4:29 pm
... Any reason why you don't use `window.Node.TEXT_NODE`?...
3062 Felix E. Klee
feklee Send Email
Oct 22, 2012
4:27 pm
On Mon, Oct 22, 2012 at 6:20 PM, Joshua Bell <inexorabletash@...> ... They should all be accessible via the `window` object, or am I missing something?...
3061 Joshua Bell
inexorabletash Send Email
Oct 22, 2012
4:20 pm
... Since the original poster hasn't replied: http://www.w3.org/TR/DOM-Level-3-Core/core.html That spec - which so far as I know is implemented by all the...
3060 Felix E. Klee
feklee Send Email
Oct 18, 2012
7:33 pm
On Thu, Oct 18, 2012 at 7:22 PM, Kirk Cerny <kirksemail@...> ... What's bad about using reserved words as property names? In his book, Douglas mentions...
3059 Felix E. Klee
feklee Send Email
Oct 18, 2012
7:15 pm
On Thu, Oct 18, 2012 at 6:46 PM, Marcel Duran <marcelduran@...> ... Interesting hack, but I don't think this improves readability. Anyways, it's easier...
3058 Marcel Duran
marcelduran Send Email
Oct 18, 2012
6:23 pm
Of course eval can be disguised in several ways, such as: window['eval'.toString()]('alert("foobar&quot;)'); So your redis client could be: ...
3057 Kirk Cerny
kirk.cerny Send Email
Oct 18, 2012
5:22 pm
I think this eval is evil. I believe that it is close enough to a reserved word to avoid using it as a property name. I also think it makes the code harder to...
3056 Felix E. Klee
feklee Send Email
Oct 18, 2012
4:35 pm
On Fri, Sep 21, 2012 at 3:48 PM, douglascrockford ... Why not enforce that with JSLint? It would be help enforcing consistent coding style in projects....
Messages 3056 - 3086 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