Yahoo Groups has aged really badly, and recently I was locked out of this group a number of times because of Yahoo's operational problems. So I am moving the...
3199
Jos van den Oever
jos.van.den.oever@...
Mar 28, 2013 1:12 pm
... The parentheses are required to limit the scope of the type cast. The use of @type for casting is not documented on that page, but there is information on...
3198
douglascrockford
douglascrock...
Mar 28, 2013 12:42 pm
... Thanks. Please try it now. https://developers.google.com/closure/compiler/docs/js-for-compiler does not indicate that the parens are required. Why are they...
3197
Jos van den Oever
jos.van.den.oever@...
Mar 28, 2013 9:34 am
... I have tried on jslint.com with this fragment: === /*jslint closure: true, white: true */ function cast(arg) { "use strict"; return...
3196
rodobrist
Mar 27, 2013 11:54 pm
... I use get and set sometimes, I am aware that they are: 1. Not overly performant (js perf type diagnostics). 2. Not compatible in IE < 9 browsers. But in...
3195
Felix E. Klee
feklee
Mar 27, 2013 11:47 pm
On Wed, Mar 27, 2013 at 11:27 PM, douglascrockford ... The idea is that JSLint would warn when it sees something as the following? o.getX = function () {...
3194
douglascrockford
douglascrock...
Mar 27, 2013 11:27 pm
I have been asked to have JSLint always warn on use of get and set. How would you feel about that?...
3193
douglascrockford
douglascrock...
Mar 27, 2013 9:20 pm
I am experimenting with a new option that will tolerate Google Closure declarations. Please let me know if you see problems or omissions....
3192
Jos van den Oever
jos.van.den.oever@...
Mar 27, 2013 7:18 am
... Writing var a = /**@type{!number}*/(b); also has effect on the white-space. JSLint expects the 'b' to be much closer to the '='. This is a check that can...
3191
douglascrockford
douglascrock...
Mar 26, 2013 10:23 pm
... I may add option.closure. Is there any more weirdness?...
3190
Jos van den Oever
jos.van.den.oever@...
Mar 26, 2013 8:33 pm
In WebODF, we've been happily using JSLint for some time. It is a terrific tool for non-trivial JavaScript project. In addition to JSLint we are using Closure...
3189
hemanrobinson
Mar 25, 2013 6:13 pm
Thanks for all the advice. We have found a workaround. I am sorry to lose the HTML parsing; it was a useful feature....
3188
Andrew Todd
andrew_todd659
Mar 22, 2013 5:09 pm
... You will be better off moving to a build and templating system that pulls in your JavaScript source files and your HTML templates, checks them separately,...
3187
falk.werner@...
falk.werner...
Mar 22, 2013 6:14 am
... Is it good practice to only check parts of a product and not the assembled product ("a single output file") itself?...
3186
Felix E. Klee
feklee
Mar 21, 2013 4:47 pm
On Thu, Mar 21, 2013 at 3:37 PM, hemanrobinson <hemanrobinson@...> ... Good practice is to use separate files during development, and then ...
3185
IcedNet Development T...
dwmcneil...
Mar 21, 2013 3:54 pm
So a single zip with 3 files (html, css, js) is out of the question? How do they deal with images? Text only? Wow, I have some flaky clients, but that is def...
3184
hemanrobinson
Mar 21, 2013 3:37 pm
For our project, embedding JavaScript in HTML is not bad practice. In fact, there is no alternative. We are required to produce a single output file. The...
3183
Lindsay John Lawrence
thinknlive
Mar 20, 2013 12:41 am
I am sorry about that. I needed another pair of eyes.... On further inspection... the actual code was something like: /*global doDoh */ (function doh (headers)...
3182
douglascrockford
douglascrock...
Mar 19, 2013 11:53 pm
... It works for me....
3181
Lindsay John Lawrence
thinknlive
Mar 19, 2013 11:11 pm
I am currently getting the following error in JSLint and don't understand why. ... Bad for in variable 'header39;. ... I am iterating over object {} properties...
3180
Frederik Dohr
ace_noone
Mar 18, 2013 8:20 am
... FWIW, that's what I wrote JSLint Reporter for: https://github.com/FND/jslint-reporter (I wasn't aware of the JSLint Utils until now) I've added both...
3179
argillaceousvis
Mar 18, 2013 2:47 am
Thank you both. It's good to have options. I'll probably go with node, but it's really just nice to have a JSLint I can run between Git and Vim. I really...
3178
Dominic Mitchell
happygiraffe...
Mar 17, 2013 7:41 pm
... You should be able to reduce this to: #/bin/bash /usr/bin/java -jar /usr/local/lib/jslint4java-2.0.2/jslint4java-2.0.2.jar "$@" -Dom ... [Non-text portions...
3177
Michael Mikowski
z_mikowski
Mar 17, 2013 4:33 pm
As an alternative, this shell script works nicely if you have Java installed.  It uses the jslint4java release from http://code.google.com/p/jslint4java/...
3176
argillaceousvis
Mar 16, 2013 8:55 pm
Dylon, This is great! Thank you so much!...
3175
Dylon Edwards
deeclhtoa
Mar 16, 2013 8:24 pm
I maintain a fork of jslint-utils, that uses Node.js (I haven't been maintaining the Rhino scripts). It may be of use to you: ...
3174
argillaceousvis
Mar 16, 2013 8:04 pm
I saw that a while ago someone had made a Unix JSLint Wrapper. It looks like it hasn't been updated for quite some time. Anyone know of any projects that do...
3173
benquarmby
Mar 16, 2013 2:14 pm
Does this mean anything for the CSS parser? Any plans to refine JSLint down to JavaScript / JSON only?...
3172
Dylon Edwards
deeclhtoa
Mar 15, 2013 10:52 pm
That sounds good to me! Thanks for maintaining JSlint, you do a great job. ... [Non-text portions of this message have been removed]...
3171
Mark Volkmann
mark_volkmann
Mar 15, 2013 10:15 pm
Hmm. I'm not happy about that. I sometimes use JSLint to check HTML and CSS files. It seems to do a good job at both. ... -- R. Mark Volkmann Object Computing,...