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
  Newest  |  < Newer  |  Older >  |  Oldest
Topics Messages Latest Post

If a script is entered into JSLint.com[1] containing a destructuring assignment[2], JSLint gives a strange error message[3] that has little or nothing to do...
3 Sep 12, 2009
5:35 am

silver_7402
Send Email

I want to recheck some bits of older code against the everchanging good parts, and for I use rhino-jslint, I have to change the jslint-options-string again and...
1 Sep 10, 2009
11:06 am

christian.wirkus
christian.wi...
Send Email

/*jslint browser: true */ escape("xyz"); Error: Implied global: escape 2...
3 Sep 8, 2009
12:51 pm

christian.wirkus
christian.wi...
Send Email

var foo = [0,, 1,, 2,, 3]; There are times where you wish to leave particular indices of an array as undefined. The above fails with the following errors: ...
7 Sep 7, 2009
1:13 pm

pauanyu
Send Email

Every know and then I want to change a /*jslint*/ setting for a particular statement. After the statement I want to restore the setting to its previous state....
13 Sep 5, 2009
1:37 pm

Aseem Kishore
aseem.kishor...
Send Email

@charset "UTF-8"; div { content: counter(foo) "." attr(bar); } Three things: 1) content is only supposed to be used on the :before, ::before, :after, and...
1 Sep 2, 2009
10:14 pm

pauanyu
Send Email

Hi, This is a little off topic, but I'm looking to integrate unit testing into our continuous integration server. So far I've looked at RhinoUnit...
1 Sep 2, 2009
6:57 pm

Toby Maxwell-Lyte
toby_maxwell...
Send Email

A lot of libraries are written inside one big, anonymous wrapper function: (function () { // ... }()); As I understand from John Resig's post on "use strict"...
2 Sep 2, 2009
5:52 pm

douglascrockford
douglascrock...
Send Email

There are times where you absolutely must go against something JSLint is warning you about. Perhaps you need eval (rare, but it happens), or perhaps you have a...
5 Sep 1, 2009
7:33 am

woomla
Send Email

I have this line of code: new Something(); and JSLint gives me this in its report: Error: Problem at line 7 character 9: 'new' should not be used as a...
5 Aug 31, 2009
4:54 pm

Arthur Blake
blakesys
Send Email

@charset "UTF-8"; body { color: rgb(30, 144, 255); color: rgb(75%, 4%, 100%); } The above fails with the following errors: Problem at line 3 character 18:...
2 Aug 30, 2009
2:56 pm

douglascrockford
douglascrock...
Send Email

The following piece of code: var node = document.getElementById('foo'); delete node.parentNode.removeChild(node); Works fine, but JSLint is complaining: Error:...
5 Aug 29, 2009
3:08 pm

marcelduran
Send Email

One of the hazards of JavaScript is that its syntax suggests that it has block scope, but it doesn't. It only has function scope. It turns out that function...
2 Aug 29, 2009
12:39 am

Arthur Blake
blakesys
Send Email

Hi there, When I input this: function hello() { var x = 0; var y = 2; return x + y; } I get this error: Problem at line 3 character 9: Too many var statements....
6 Aug 27, 2009
6:33 pm

Stefan Weiss
weiss@...
Send Email

(foo && (delete foo.bar)); The above completely and utterly breaks JSLint. It will fail to parse anything occurring after the expression....
5 Aug 27, 2009
2:14 pm

pauanyu
Send Email

Previously, the cookie JSLint used to store the settings was a rather long-lived cookie. Recently, this was changed so the cookie would expire at the end of...
11 Aug 26, 2009
4:23 pm

Arthur Blake
blakesys
Send Email

"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
  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