... I like "rope of sand". That is a good metaphor....
193
Kai
kaichen67
Aug 22, 2008 3:00 pm
... to ... all ... I don't like that idea. JS in web context is for all browsers. There is either "good" JS following certain rules (which ones might be a ...
192
Keith Hughitt
pwnedd
Aug 22, 2008 1:21 pm
Hi, I had a suggestion for a feature for JSLint that I feel would be pretty useful. In addition to the options groups ("Good parts" and "Recommended"), would...
191
William Chapman
jeddahbill
Aug 20, 2008 11:19 pm
Ben, Please forgive my previous email which is totally wrong! The following actually works (shamelessly copied from Crockford: "The Good Stuff" page 39): ...
190
William Chapman
jeddahbill
Aug 20, 2008 4:24 pm
Ben, Another approach: function main() { var arr = ['a', 'b', 'c']; var closedValue; for (var i = 0; i < 3; i++) { closedValue = i; ...
189
Fred Lorrain
grumelo68
Aug 20, 2008 2:13 pm
What means the Problem message ? Which rule I'm not respecting by using javascript: ? Problem at line 854 character 33: Script URL. peopleURL =...
188
Fred Lorrain
grumelo68
Aug 20, 2008 1:10 pm
... Does it mean you will fix them or not ? :D...
187
Fred Lorrain
grumelo68
Aug 20, 2008 12:59 pm
... Thank you very much for the link. No I understand and accept this rule :D This rule has now a clear explanation in the messages of JSLint discussion group...
186
Douglas Crockford
douglascrock...
Aug 20, 2008 12:21 pm
... I thought you were supposed to be the too strict, too maniac guy. See http://yuiblog.com/blog/2007/04/25/id-rather-switch-than-fight/...
185
Douglas Crockford
douglascrock...
Aug 20, 2008 12:20 pm
... I currently have no plans to support XHTML. Instead, I am improving the HTML support....
184
Douglas Crockford
douglascrock...
Aug 20, 2008 12:18 pm
... No thanks. I think DOCTYPE was a mistake. Certainly, requiring type on script src was a mistake....
183
Douglas Crockford
douglascrock...
Aug 20, 2008 12:17 pm
... The warnings assume that a lack of understanding on how undefined works in the language. If you have a Java mentality, they might be useful. I have a...
182
Ben Collver
tylx
Aug 20, 2008 12:08 pm
I created a page with three buttons, a, b, and c. When you click on a button, it alerts its number. I modified the loop to attach an onclick handler to each...
181
Fred Lorrain
grumelo68
Aug 20, 2008 11:46 am
Hello, I know that break is recommended before a case but it's not mandatory. In the following example there is nothing wrong, right? switch (this.layout) { ...
180
Paul
dwtebriel
Aug 19, 2008 4:25 pm
... Hey thanks for the reply! For the browsers that support a content-type of "application/xml+xhtml", is there any advantage for JavaScript when working with...
179
Fred Lorrain
grumelo68
Aug 19, 2008 9:40 am
Hello, Here again your most devoted fan come with an improvement request :D There some HTML issues on the page http://www.jslint.com/ Very easy to fix, so...
178
Fred Lorrain
grumelo68
Aug 19, 2008 9:08 am
Hello, I'm for sure too strict, too maniac but ... JSLint is used to validate JavaScript so what about providing perfect JavaScripts in JSLint? If you turn on...
177
Fred Lorrain
grumelo68
Aug 19, 2008 6:54 am
... this tool ... help. ... In the new release of JSLint the symbol report has been improved to highlight unused symbols....
176
Fred Lorrain
grumelo68
Aug 19, 2008 6:52 am
... The new 'onevar39; option can now be used to that...
175
Fred Lorrain
grumelo68
Aug 19, 2008 6:50 am
... Thanks a lot for this quick update....
174
Douglas Crockford
douglascrock...
Aug 18, 2008 7:38 pm
I added a onevar option. It allows only one var statement per function. Unused variables are easier to see in the function report. I removed support for .kon...
173
santini.alberto
Aug 17, 2008 1:24 pm
For the release Aug, 12nd, at line 910 JSLint (run on itself) displays the message "Unexpected escaped character '<' in regular expression." ... if (src ||...
172
Douglas Crockford
douglascrock...
Aug 16, 2008 3:18 pm
... It is insignificant....
171
DoNotSay
ghumham
Aug 16, 2008 3:17 pm
Douglas, ... gboxJSON2("/swapbild",{"von":$j(this).attr("id"),"nach":$j(ui.draggable).attr("id")},function(erg){}); ... It also works with non-global...
170
Douglas Crockford
douglascrock...
Aug 15, 2008 11:08 pm
... XHTML is a fiction. If it were real, you wouldn't need to hide the hideous CDATA overhead behind JavaScript comments. You would do better to write your...
169
Douglas Crockford
douglascrock...
Aug 15, 2008 8:51 pm
... JSLint does not like to break after a string literal. This is protect you from semicolon insertion. You can either turn on the sloppy line breaking option,...
168
Jacob Davenport
jpdavenportjr
Aug 15, 2008 8:33 pm
This produces an error: function a() { return ( doStuff(m, n) + "someString" ); } Imagine that the doStuff and someString lines are long, thus the desire to...
167
Paul
dwtebriel
Aug 15, 2008 3:41 pm
Hey all, I currently have code that looks like the following: <script type="text/javascript"> //<![CDATA[ ... //]]> </script> Since I'm doing this in xhtml, my...
166
Fred Lorrain
grumelo68
Aug 15, 2008 3:41 pm
... used? ... It's fine to have it in the report (I haven't seen it) but imagine I have 100 methods in my object. For every unused symbol I will have to track...
165
Douglas Crockford
douglascrock...
Aug 14, 2008 10:16 pm
JSLint is able to parse Yahoo Widgets .kon files. Is any using JSLint on widgets? Would anyone nice if I took that feature out?...