Search the web
Sign In
New User? Sign Up
jslint_com · JSLint.com
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.

Messages

  Messages Help
Advanced
Messages 78 - 109 of 109   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
78
... Hi Will, I've another issue with already defined, which even appears in yui: if (typeof YAHOO == "undefined" || !YAHOO) { /** * The YAHOO global namespace...
Thomas Koch
cluj_de
Offline Send Email
Jun 16, 2008
4:44 pm
79
... defined, the ... I had the same problem. I ended up replacing those namespace declarations in each individual file with /*global YAHOO*/ I agree that if...
wleingang
Offline Send Email
Jun 16, 2008
5:15 pm
80
... There are scope definition problems with respect to catch in some browsers. I recommend that you give each catch its own name (e1, e2) to be safe....
Douglas Crockford
douglascrock...
Offline Send Email
Jun 16, 2008
5:20 pm
81
... Unless I ... This is what I have done. Use different names for the events. However I have stuck into another problem: var test = function(){ ...
Re Miya
remiya_ws
Offline Send Email
Jun 16, 2008
6:30 pm
82
... Move the definition of pvt_fn before the pub_function that uses it....
Douglas Crockford
douglascrock...
Offline Send Email
Jun 16, 2008
6:42 pm
83
... That really makes sense. Up to now I have been putting the private fns at the end like this var test = function(){ this.pub_function = function(){ ...
Re Miya
remiya_ws
Offline Send Email
Jun 16, 2008
6:55 pm
84
Hello, JSLint reports errors in switch statements caused by omitting a "break" statement. I recently encountered such an error that JSLint did not catch. It ...
Chris
altearius
Offline Send Email
Jun 21, 2008
9:05 pm
87
... JSlint should now correctly identify fallthrough in nested switch statements. Thank you for the report....
Douglas Crockford
douglascrock...
Offline Send Email
Jun 21, 2008
11:31 pm
88
Hi, thanks for the great tool and book on Javascript! I was just wondering if the rhino version of the script is currently the same as the web version. It...
Tim Breitkreutz
timbreitkreutz
Offline Send Email
Jun 25, 2008
7:44 pm
89
... the same as the web ... noticed (missing the ... The Rhino version at http://jslint.com/rhino/jslint.js uses the same core js file. You may want to fiddle...
Douglas Crockford
douglascrock...
Offline Send Email
Jun 25, 2008
7:48 pm
90
I was looking through the fulljslint.js source and ran across the snippet below. Should the message say "... is evil"? Is this some sort of Freudian slip?...
kevin_hakanson
Offline Send Email
Jun 30, 2008
1:12 am
91
... It was intentional. The Function constructor is a form of eval....
Douglas Crockford
douglascrock...
Offline Send Email
Jun 30, 2008
1:15 am
92
... Between the time I posted this and you replied, I read "JavaScript: The Good Parts" and now that makes sense. I had never thought of using new...
kevin_hakanson
Offline Send Email
Jun 30, 2008
3:48 pm
93
I probably will get flamed for using eval to set global variables, but I needed it at the time. Using eval in IE didn't work as I needed, so I had to use the...
kevin_hakanson
Offline Send Email
Jun 30, 2008
5:50 pm
94
The following code: <pre> function testEnvironment() { for (var i = 0; i < 10; i++) { (function (i) { console.log('Closure with i counting'); } (i)); } } ...
saj14saj
Offline Send Email
Jul 2, 2008
12:11 pm
95
I understand and agree with the warning about dot notation in general. My use case for requesting a configuration option to disable it is this: I am parsing an...
saj14saj
Offline Send Email
Jul 2, 2008
12:15 pm
96
Hi, Would I be right in thinking the "download" version of jslint.js linked to on http://www.jslint.com/rhino/index.html is a concatenation of...
Andy Stevens
andystevens_...
Offline Send Email
Jul 2, 2008
5:16 pm
97
... Yes. ... JSLint has been around since 2001. But this group is a recent thing....
Douglas Crockford
douglascrock...
Offline Send Email
Jul 2, 2008
5:18 pm
98
... It has been fixed. Thank you for report it....
Douglas Crockford
douglascrock...
Offline Send Email
Jul 2, 2008
6:35 pm
99
... I have added a 'sub' option to JSLint. It turns off the check for suboptimal subscript notation....
Douglas Crockford
douglascrock...
Offline Send Email
Jul 4, 2008
1:25 pm
100
... /*jslint browser: true, sub: true */ window['alert']('ok');...
Douglas Crockford
douglascrock...
Offline Send Email
Jul 4, 2008
1:26 pm
101
First, thanks for making updates to JSLint based on this groups comments. It's easiest just to quote another source for this request: "The escape and unescape...
kevin_hakanson
Offline Send Email
Jul 9, 2008
4:21 pm
102
Hi, can somebody recommend me some small pieces of javascript code, that I can study to improve my coding style? I already study YUI, but it is to large to...
Thomas Koch
cluj_de
Offline Send Email
Jul 9, 2008
8:25 pm
103
Hello, While I don't think there's a "one paradigm to rule them all," I can testify to the elegant extension methods that jQuery employs in its plugin...
Klemen SlaviÄ
klemen.slavic
Offline Send Email
Jul 9, 2008
8:51 pm
104
Thank you, that is wonderful. I really appreciate the tool, which I use frequently, because I think it saves me lots of time debugging, and I also appreciate...
saj14saj
Offline Send Email
Jul 11, 2008
6:12 pm
105
I 'redefine' padchar in the following. Is there a workaround? Yes, I can copy it into another variable, but the code is actually okay as it is. ...
osteocosmosis
Offline Send Email
Jul 15, 2008
5:11 pm
106
... Do not declare a name that is already declared. In this case, simply delete the word 'var'. padchar = ' ';...
Douglas Crockford
douglascrock...
Offline Send Email
Jul 15, 2008
5:14 pm
107
Yes. Of course. Thanks....
osteocosmosis
Offline Send Email
Jul 15, 2008
8:48 pm
108
I use the snippet I attached below to integrate JSLint and SciTE editor. Is it possible to get a text report (and not a html report), because I wouldn't...
santini.alberto
Offline Send Email
Jul 16, 2008
11:22 am
109
Hello. I was wondering if it's possible to catch the error described by the snippet. I am referring not to catch the out of bound, but the lack of the...
santini.alberto
Offline Send Email
Jul 18, 2008
12:21 pm
Messages 78 - 109 of 109   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2007 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help