Now that is cool... To think I once wrote such a generator in 6502/10 asm for the C64... How far we've come... ________________________________ From:...
... Hey very nice. I've been using Rhino but I had heard good things about the speed of Spidermonkey. ... Confirmed, at least for Cygwin Ruby :\ it looks...
... In theory, cygwin shouldn't be too hard. The biggest issue that I'm aware of is the build stuff. The older SpiderMonkey builds were a bit brittle with...
Hi, A developer in my team is using the CSS code: z-index:+1; to increment the z-index of an element by one. This fails the JSLint validator, I cannot seem to...
On Wed, Jan 27, 2010 at 8:27 PM, Simon Kenyon Shepard < ... If you look at the CSS grammar <http://www.w3.org/TR/CSS21/grammar.html>, each declaration is: ...
I did a little more digging, and here's what the W3C has to say about integers: http://www.w3.org/TR/CSS2/syndata.html#value-def-integer Basically, the + sign...
According to the W3C and MDC, z-index is either "auto" or an integer. The integer can be positive or negative, but if it is positive, it does not need the plus...
Everyone seems to have missed what Simon said specifically (emphasis mine): "A developer in my team is using the CSS code: z-index:+1; to _increment_ the...
I noticed that JSLint does not detect a problem with HTML ID attributes that begin with a numeral. I ran into a problem the other day where YUI3 was doing...
very good point I think this kind of thing deserve an error more than a simple warning ;-) ... [Non-text portions of this message have been removed]...
Using JSLint with emacs and flymake-mode to provide near-live code annotation with lint results has been well documented for a while over on EmacsWiki. It's...
In JavaScript: A Survey of the Language, you wrote: !! can be used as a prefix operator, converting its operand to a boolean. but JSLint says: Confusing use of...
... Sure: var launchIsKeyCode = this.prefs.getBoolPref(this.kbLaunchNames.userIsKeyCode); var charCode = event.charCode; if ((!!charCode) === launchIsKeyCode)...
It seems pellucid to me. It means "is the truthiness of charCode the same as the actual truth-value of launchIsKeyCode". In fact, I cannot think of a better...
I don't understand why the logical test can't be: if ((event.charCode && launchIsKeyCode) || (!event.charCode && !launchIsKeyCode)) { You don't need to force a...
I've been running a JSlint checking Web service for a year or two over here: http://jslint.webvm.net/mylintrun.js However when I use it, I always get the last...
dadraqsta, I show severly errors. In order to read it a bit easier I ran it through my Pretty Diff tool to first minify it to remove the comments and then...
Hi, Why does JSLint use the following regexp to detect names beginning with a capital letter (newcap option)? /^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/ It...
I see there is an option to allow HTML to contain a fragment instead of a full document. I know how to specify JSLint options in a comment at the top of a...
Mark, The standard XHTML 1.0 Strict and XHTML 1.1 doctypes both work for me in the JSLint tool, however the tool inappropriately outputs a missing '>' error...
Mark, Do you mean JSLint's fragment: true option? Please describe your use case with greater specification when you refer to use at top of a HTML file. Austin...