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...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 987 - 1016 of 3202   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand Author Sort by Date ^
987 woomla Send Email Nov 2, 2009
12:26 pm
This code jslint fine, but the second aa function is not accessible. Can't jslint give a warning for this? "use strict"; var NN = ''; function aa(name) { NN =...
988 Douglas Crockford
douglascrock... Send Email
Nov 2, 2009
12:36 pm
That's a good question. The only warning JSLint gives is that aa is global. JSLint is more forgiving of global mishaps, assuming that if you are doing things...
989 Brook
mrprogguy Send Email
Nov 3, 2009
6:38 pm
What is the intent of flagging a line like gBarGinArr = []; with the error message "Read only?"...
990 Brook
mrprogguy Send Email
Nov 3, 2009
6:45 pm
Given var b = javaApplet.Connect("javascript:OnConnect()"); as the target of investigation, I inevitably see the "Script URL" complaint from JSLint. Since the...
991 Douglas Crockford
douglascrock... Send Email
Nov 3, 2009
6:59 pm
... See http://www.jslint.com/lint.html#global...
992 Douglas Crockford
douglascrock... Send Email
Nov 3, 2009
7:01 pm
... I don't recommend the use of javascript:urls in any context....
993 Brook
mrprogguy Send Email
Nov 3, 2009
7:28 pm
... I don't think that's really in question. The problem is that there aren't any other mechanisms available for use. One would hope that JSLint would be...
994 samckayak Send Email Nov 12, 2009
2:11 pm
I'm working on a bookmarklet for ie6 which I hope explains the lack of comments, short variables, and single-lined nature of the function. jslint seems to miss...
995 Douglas Crockford
douglascrock... Send Email
Nov 12, 2009
2:38 pm
... Turn on the "Disallow undefined variables" option....
996 samckayak Send Email Nov 12, 2009
3:27 pm
... I will, and thank you. Isn't it a jslint anomaly that "of" was not flagged as a global variable by jslint? I found that renaming "of" to "ox" resulted in...
997 Dominic Mitchell
happygiraffe... Send Email
Nov 12, 2009
10:45 pm
Hi all! I'd like to let you know that I've released a new version of my jslint wrapper, jslint4java. The new features are: * Upgrade to JSLint 2009-10-04. *...
998 martijnbeulens Send Email Nov 14, 2009
9:43 pm
Sam i tried to address some of your suggestions. Could not find how to do a keyboard shortcut yet, so that remains on the wishlist for now. Changelog 1.0.0.4 ...
999 samckayak Send Email Nov 15, 2009
4:14 pm
... These are great updates. It is much more streamlined now. I don't miss the control character much. It might be better if a jslint ICON could be place on...
1000 Simon Kenyon Shepard
sks0001010 Send Email
Nov 16, 2009
5:57 pm
Hi, apologies if this has already been covered. I was wondering whether there are any plans to bring in the option to be able to flag console.log statements in...
1001 Douglas Crockford
douglascrock... Send Email
Nov 16, 2009
7:06 pm
... That is a great suggestion. Perhaps there could be an option that determines whether console, Debug, and Opera are predefined. You would turn it on for...
1002 sks0001010 Send Email Nov 16, 2009
9:28 pm
Hmmm, not that I can think of off the top of my head, those 3 are the only ones that get reused repeatedly for JS debugging in the different browsers. In...
1003 Toby Maxwell-Lyte
toby_maxwell... Send Email
Nov 17, 2009
8:23 am
What about alert() ? ... -- Toby Maxwell-Lyte 07816 836300 01443 449003...
1004 Douglas Crockford
douglascrock... Send Email
Nov 19, 2009
7:17 pm
I added an Assume console, alert, ... (devel) option. It predefines globals that are useful in browser development that should be avoided in production. It is...
1005 samckayak Send Email Nov 27, 2009
5:39 pm
Martin, Two more wish-list items for the Dreamweaver JSLint extension: I've docked the JSLint "site reports" in the right-column of Dreamweaver in the "Files...
1006 samckayak Send Email Nov 27, 2009
11:36 pm
JSLint warns: unexpected /*member when I add a new function to an object. What is this warning about? Sam...
1007 Douglas Crockford
douglascrock... Send Email
Nov 28, 2009
1:01 pm
... You have a /*member */ comment that lists all of the allowed member names, and you are declaring a member name that is not on the list....
1008 Douglas Crockford
douglascrock... Send Email
Dec 2, 2009
9:24 pm
I am thinking to remove the Disallow undefined variables. I added the option originally to make the transition easier for people with sloppy code. But that was...
1009 Dominic Mitchell
happygiraffe... Send Email
Dec 2, 2009
10:19 pm
... I'm not bothered by this — it seems like a very sensible idea. -Dom [Non-text portions of this message have been removed]...
1010 Aseem
aseem.kishor... Send Email
Dec 2, 2009
10:27 pm
I think the intention is right, but to be honest, I've turned it off on a few occasions as a workaround to allow code to be in a different order. By default,...
1011 Dominic Mitchell
happygiraffe... Send Email
Dec 2, 2009
11:00 pm
I've updated my jslint wrapper: - Now supports the "predef" option. - Uses jslint 2009-11-24, which adds the "devel" option. As usual, it's available from...
1012 pauanyu Send Email Dec 3, 2009
12:45 pm
How about changing the "Disallow undefined variables" to "Allow using a function before it was defined"? That would handle Aseem's use-case while still...
1013 Tim Beadle
timbeadle Send Email
Dec 3, 2009
6:27 pm
2009/12/3 pauanyu <pcxunlimited@...> ... That sounds like a good idea - it would help people transition (I've done some of that to scripts I've taken...
1014 Aseem
aseem.kishor... Send Email
Dec 3, 2009
8:32 pm
That will definitely work for the meantime. But I've been meaning to ask (and this is a good time to), what's really wrong with referencing functions *inside*...
1015 Stefan Weiss
weiss@... Send Email
Dec 4, 2009
5:43 pm
... Nor will it in the first example. Function declarations are hoisted, which means that 'bar' is guaranteed to be available before the first statement in a...
1016 Aseem
aseem.kishor... Send Email
Dec 4, 2009
6:09 pm
Good post, I agree. Just a quick note -- ... Yes, this will work: bar(); function bar () { // ... } But I said it "feels" wrong, because in terms of...
Messages 987 - 1016 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