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

Hello, I am puzzled by some indentation expectations that I am getting from JSLint. I was wondering if somebody might clarify this? Please consider this...
2 Apr 8, 2011
8:55 pm

Douglas Crockford
douglascrock...
Send Email

We have been using an older version of JSLint ('2010-12-14') to validate code like the below. This has been going well, but when trying to upgrade to newest...
2 Apr 8, 2011
7:43 pm

Douglas Crockford
douglascrock...
Send Email

I turned on strict whitespace and jslint is telling me that the section starting with `position: 'absolute&#39;` should be have one fewer tab stops: var i =...
2 Apr 8, 2011
5:51 pm

abyssoft@...
abyssoft...
Send Email

I turned on strict whitespace and jslint is telling me that the section starting with `position: 'absolute&#39;` should be have one fewer tab stops. This is using...
5 Apr 6, 2011
5:28 pm

Erik Eckhardt
vorpalmage
Send Email

Classification: UNCLASSIFIED The whitespace algorithm is not wrong in its error. The cause of your problem is the ".css". This this instead: var i =...
4 Apr 6, 2011
4:51 pm

Rob Richardson
erobrich@...
Send Email

Doug, I saw that someone tried to push a commit with the CommonJS export and it was rejected. However, since your JSLINT file can't be exported as a module...
3 Apr 5, 2011
9:22 pm

AJ ONeal
coolaj86
Send Email

In late Feb, Douglas added this warning: infix_in: "Unexpected 'in'. Compare with undefined, or use the hasOwnProperty method instead.", This causes problems...
6 Apr 5, 2011
7:09 pm

John Hawkinson
john.hawkinson
Send Email

Hi, In older times, to disable easily I have used code like this: var logger; function doNothing() {} function setDebugMode(mode) { if (mode === 'on') { ...
3 Apr 5, 2011
5:31 pm

Morgaut Alexandre Lou...
morgaut_a
Send Email

I like the unused variables warning, because it helps catch misspelled variables, although so do checks that warn about undeclared variables. However, using...
5 Apr 5, 2011
6:40 am

Morgaut Alexandre Lou...
morgaut_a
Send Email

In IE 7 I tried using hasOwnProperty on document.styleSheets[0].rules[0] and found out that the rule object returned from the expression doesn't have that...
2 Apr 5, 2011
4:52 am

Douglas Crockford
douglascrock...
Send Email

Works Correctly // I'm a Block Comment that has a tab Has Defect /* I'm a stream comment that has a tab */...
3 Apr 1, 2011
7:45 pm

abyssoft@...
abyssoft...
Send Email

The Assume a browser option now includes 'window. Most uses of window are in support of bad practices, but some uses of it are now required by ES5/strict. For...
9 Mar 31, 2011
3:49 pm

AJ ONeal
coolaj86
Send Email

Classification: UNCLASSIFIED ... var o = { // global object first: function (xyz) { return xyz; }, second: function (abc) { return abc; } }; o.first(); // this...
1 Mar 30, 2011
2:35 pm

Cheney, Edward A SSG ...
sandyhead25
Send Email

/*jslint browser: true*/ window.onload = function () { document.getElementById("hello").appendChild(document.createTextNode("world";)); }; gives me: *Error:* ...
4 Mar 28, 2011
7:02 pm

Douglas Crockford
douglascrock...
Send Email

Hello. I started using express, a framework for node.js. The following line app.use(express.static(__dirname + '/live&#39;)); gets Expected an identifier and...
2 Mar 24, 2011
4:16 pm

IceBox
santini.alberto
Send Email

Because I'm using my own function for the if statement, this doesn't work: example: var isOwnProperty, object, i; isOwnProperty = function(object, key) {....};...
6 Mar 20, 2011
5:23 pm

Ezequiel
thehungerforce
Send Email

Given the following code: /*jslint browser: true */ var isReady = (function () { ````var poll = setInterval(function () { ````````if...
24 Mar 10, 2011
11:06 pm

Lindsay John Lawrence
thinknlive
Send Email

Hello, I'm new to JSLint, and did not have the time to examine the sources and group messages to a maximum extent; however, I have a question about warnings...
3 Mar 10, 2011
1:27 pm

sharkfx2002
Send Email

Hello, On the following code: function One(a, b, c) { ````this.value = a + b + c; } function Two(a, b, c) { ````this.value = c + b + a; } var which =...
6 Mar 9, 2011
5:22 pm

Rob Richardson
erobrich@...
Send Email

The /*properties*/ (formerly known as /*members*/) and the /*global*/ directives, when placed in a function, do not influence the environment outside of the...
4 Mar 7, 2011
3:52 pm

jeddahbill
Send Email

The /*jslint */ directive now respects function scope. That means that if you change an option setting inside of a function body, it will revert on leaving the...
2 Mar 7, 2011
9:11 am

Woomla
woomla...
Send Email

I'm not sure if HaXe is a dirty word around here, but I've been playing with it recently and found it a reasonable progression from Javascript when I was...
1 Mar 6, 2011
1:50 pm

Marc Draco
smidoid
Send Email

Hi, This code gives a message: Problem at line 5 character 9: Expected an identifier and instead saw '/*jslint&#39; (a reserved word). That's correct and it's my...
8 Mar 5, 2011
12:29 pm

Zhami
ossayu
Send Email

The place to express yourself in programming is in the quality of your ideas, and the efficiency of execution. The role of style is the same as in literature....
5 Feb 28, 2011
10:43 pm

Douglas Crockford
douglascrock...
Send Email

Hi, I'm scanning the jslint tree after processing to detect todo comments and warn about them. I also have a plan to validate vsdoc/jsdoc as well. Do you have...
3 Feb 28, 2011
9:26 pm

Luke Page
page.luke...
Send Email

Hi Guys, I've updated the JsLint engine to the 2011-02-24 version in dwlint. I also re-arranged the checkboxes in the config section. Hope it helps you ...
2 Feb 28, 2011
4:19 pm

martijnbeulens
Send Email

Hi there, I'm trying to build a tool that detects javascript code in any kind of language or file format, for example PHP, ASP.NET, etc. . Not just HTML. Since...
3 Feb 28, 2011
10:45 am

zbordie_flickr
Send Email

Classification: UNCLASSIFIED ... This is the logic I use for Pretty Diff: if (apilang === "auto") { autotest = true; if (new RegExp(/^(&#92;s*<)/).test(apisource)...
1 Feb 27, 2011
1:18 pm

Cheney, Edward A SSG ...
sandyhead25
Send Email

Working with Node.js (and probably other SSJS solutions), it's pretty common to find yourself working with the file system and using file permissions the...
2 Feb 27, 2011
12:46 am

Douglas Crockford
douglascrock...
Send Email

This is a little O/T, sorry for that in advance. I agree with Douglas on pretty much everything (he's even helped to get me physically fitter!) with one...
1 Feb 26, 2011
10:18 pm

Marc Draco
smidoid
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