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...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
  Newest  |  < Newer  |  Older >  |  Oldest
Topics Messages Latest Post

"use strict"; function t() { var name, norm; name = 'js/js-js.js'; norm = name.replace(/([\.\/-])/g, ''); return name === norm; } gives me this Error: Problem...
5 Aug 26, 2009
9:03 am

woomla
Send Email

@charset "UTF-8"; @import 'foo'; @import url('foo&#39;); @import "foo"; @import url("foo"); JSLint chokes on the above....
3 Aug 24, 2009
2:02 pm

pauanyu
Send Email

function foo(a, b) { var c; } In the above, the local variables "a" and "b" are never used, yet they are not listed as "Unused". Instead, only "c" is listed. ...
7 Aug 22, 2009
1:53 pm

pauanyu
Send Email

Am I crazy? I thought I could add this comment at the top: /* global CMECF window */ And then I could reference my CMECF global (analogous to the YAHOO...
3 Aug 21, 2009
8:29 pm

jpdavenportjr
Send Email

jslint complains if I use a function before it's defined, e.g.: window.onload = initialize; function initialize() { ... } I can certainly understand why one...
1 Aug 20, 2009
7:34 am

Paul Novitski
paul.novitski
Send Email

Most programs I write lately are wrapped in an anonymous function which is immediately executed, thus: (function () { ... the real code ... }()); As is well...
4 Aug 19, 2009
4:45 pm

Michael Lorton
mlorton
Send Email

/* I'm a comment! */ @charset "UTF-8"; [hidden] { display: none !important; } The above is valid JSLint, but fails in the W3 CSS validator with the following...
2 Aug 18, 2009
11:20 pm

Douglas Crockford
douglascrock...
Send Email

With the following code: /*jslint browser: true, onevar: true, maxerr: 50 */ /*global jsonrpc:false*/ function loadPopup(parm) { ...
3 Aug 17, 2009
2:02 pm

Arthur Blake
blakesys
Send Email

var regexp = /foo|*/; The above is valid code in JSLint, but fails with the following error: Uncaught SyntaxError: Invalid regular expression: /foo|*/: Nothing...
2 Aug 16, 2009
12:12 am

Douglas Crockford
douglascrock...
Send Email

Hi, I'm writing a Firefox extension. The frontend is CSS/XUL. Of course JSLint does not know XUL-Tags. Is there a possibility to use JSLint anyway. Like...
1 Aug 13, 2009
1:55 pm

christian.wirkus
christian.wi...
Send Email

I'm working on setting up the frontend-test-suite(http://github.com/NeilCrosby/frontend-test-suite/tree/master) which uses jslint. The only jslint script that...
4 Aug 10, 2009
9:20 pm

Michael Lorton
mlorton
Send Email

Hi, I'm not sure this is a problem, or if I'm just reading the report wrong. When creating an anonymous function (a callback) as an arg to a function: ...
3 Aug 10, 2009
6:33 pm

cdcmicro
Send Email

With the Assume a browser setting checked, onbeforeunload=function() { return "you sure you want to leave the page?"; }; gives me a jslint Implied global...
5 Aug 10, 2009
5:31 pm

Arthur Blake
blakesys
Send Email

@charset "UTF-8"; div { overflow-x: visible; overflow-y: visible; word-wrap: normal; white-space: pre-wrap; } div > .foo {} overflow-x, overflow-y, word-wrap,...
3 Aug 10, 2009
1:20 pm

pauanyu
Send Email

The web edition of JSLint is now implemented as an ADsafe widget. ADsafe is a safe JavaScript framework intended to support mashups and advertising. JSLint is...
1 Aug 8, 2009
12:21 am

Douglas Crockford
douglascrock...
Send Email

I just noticed it. When did this happen? It's very awesome....
1 Aug 7, 2009
6:25 pm

pauanyu
Send Email

The /*jslint */ comment now accepts the maxerr option....
2 Aug 7, 2009
2:05 pm

aceblchboy
Send Email

Just noticed that when I click the "Book" button link in FF 3.5.2., I get the amazon book twice in two separate popups...Yet, in IE8, Help, Options and Book...
1 Aug 6, 2009
8:58 pm

Arthur Blake
blakesys
Send Email

I added a new option that lets you set the maximum number of warnings. The default is 0. It is used only if option.passfail is not true....
5 Aug 6, 2009
1:01 pm

christian.wirkus
christian.wi...
Send Email

JSLint doesn't like DOM types: Element NodeList etc. So you can't do (foo instanceof Element) to see if it's a HTMLElement, or (foo instanceof NodeList) to see...
4 Aug 6, 2009
4:20 am

pauanyu
Send Email

Will you fix it soon? Thanks, love the tool....
2 Aug 4, 2009
1:38 pm

Douglas Crockford
douglascrock...
Send Email

This worked great on my Linux dev box, and I thought others might be interested. This guy has employed spidermonkey to run jslint on Linux. Easily :) ...
17 Aug 3, 2009
5:52 am

Arthur Blake
blakesys
Send Email

I have added a new method to JSLINT which returns the material from the report in the form of a data structure. This should be useful to programs that want to...
2 Aug 1, 2009
8:59 am

Harry Whitfield
harry152566
Send Email

Hi all! I'd like to let you know that my jslint wrapper, jslint4java, has a new version out. The details are at: http://code.google.com/p/jslint4java/ The...
1 Jul 31, 2009
1:49 pm

dom@...
happygiraffe...
Send Email

This seems to be producing "Bad escapement error" results = str.replace(new RegExp('\\\$\\\$([a-z]+)', 'gim'), "{%=$1%}"); as you can see I am looking to...
3 Jul 29, 2009
11:42 pm

mars77
Send Email

JSLint doesn't support them. Is this by design, or...?...
9 Jul 27, 2009
12:40 am

pauanyu
Send Email

Take the following code sample. When I run it through JSLint with "Require Initial Caps for constructors" set (my default), I receive an "A constructor name...
2 Jul 24, 2009
10:25 pm

pauanyu
Send Email

Hi all! I'd like to let you know that my jslint wrapper, jslint4java, has a new version out. The details are at: http://code.google.com/p/jslint4java/ The...
1 Jul 24, 2009
11:44 am

dom@...
happygiraffe...
Send Email

var regexp = /[]]/; I understand the second error is JSLint telling me I need to escape the "]", and that's fine. The problem is the first error. It says I...
3 Jul 19, 2009
3:48 am

pauanyu
Send Email

I find the indentation requirements for the switch statement are not what I expect. Expected: switch (value) { case 1: case 2: return true; default: return...
2 Jul 13, 2009
3:49 pm

Douglas Crockford
douglascrock...
Send Email
  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