Ah, how silly of me. I guess I was typing to fast and missed the jslint directive. Thanks. Randall...
2298
Erik Eckhardt
vorpalmage
Jun 9, 2011 5:55 pm
I wish everyone had done this kind of thing about 10 years ago. Then we would have had some progress. Doing it now just seems counterproductive. Microsoft is...
2297
Douglas Crockford
douglascrock...
Jun 9, 2011 5:51 pm
... I am sorry. I don't understand. What exactly is the problem?...
2296
Douglas Crockford
douglascrock...
Jun 9, 2011 5:46 pm
... JSLint does not recognize a /*nomen*/ directive, so it see that as a comment. You probably meant /*jslint nomen: true*/ JSLint could have issued a warning...
2295
Douglas Crockford
douglascrock...
Jun 9, 2011 5:40 pm
... You did not mention which browser you are using, so I must assume it is IE. There is a bug in IE's string.split method that causes it to lose track of...
2294
Satyam
satyamutsa
Jun 9, 2011 3:36 pm
It seems the line counter is not counting the blank lines, at least that's what it seems in the first few lines when the code causing the error seemed...
2293
kaichen67@...
kaichen67
Jun 9, 2011 2:15 pm
... Please reverse this step. It's a punishment to wade through hundreds of files and change the options meaning. Even more, because of the "good parts" preset...
2292
spence.randall@...
spence.randa...
Jun 9, 2011 2:10 pm
I have a small file that deals with Google Analytics, which requires you to use _gaq as the global variable. I want to wrap this in a function so I can...
2291
Jérôme DESPATIS
jdespatis
Jun 9, 2011 1:57 pm
I've tried undef: true/false and unparam: true/false The only setting that seems to let show unused variables is unparam: false, which seems to be the default ...
2290
Jérôme DESPATIS
jdespatis
Jun 9, 2011 1:48 pm
Ok, it works great thanks, One more remark, as Firefox throws me: 'caller39;, 'callee39;, and 'arguments39; properties may not be accessed on strict mode functions...
2289
Douglas Crockford
douglascrock...
Jun 9, 2011 12:32 pm
... Depending on the state of option.undef, those warnings may be suppressed....
2288
Douglas Crockford
douglascrock...
Jun 9, 2011 12:26 pm
... Yes. The instructions describe a /*jslint*/ object. It can set the options, and it respects function scope....
2287
Merlin
harry152566
Jun 9, 2011 11:16 am
There is a new version (10.3.0) of my Widget Tester Widget at http://tinyurl.com/5unocx . This should be compatible with the revised JSLint options. Please...
2286
Jérôme DESPATIS
jdespatis
Jun 9, 2011 8:10 am
Hello, I've just noticed a slight problem, in some code, there is an unused variable items, so JSLINT.report() gives this: <div...
2285
Jérôme DESPATIS
jdespatis
Jun 9, 2011 7:59 am
Hello, I'm using intensively jslint for every .js I code now with everything strict to make code consistent. First, thanks for your work to make js code looks...
2284
Douglas Crockford
douglascrock...
Jun 9, 2011 7:38 am
The options have been revised to make their definitions more consistent. JSLint will now do the Good Parts by default. The options will now relax its rules,...
2283
Merlin
harry152566
Jun 8, 2011 12:26 pm
I would support a change, but I think it would be desirable to continue to support the current /*jslint*/ directive for a while, with the current polarity...
2282
spence.randall@...
spence.randa...
Jun 8, 2011 3:05 am
I use the /*jslint*/ directives for some of these options, so I would have to edit these, but I think a change for the better is worth the effort. No pain, no...
2281
Erik Eckhardt
vorpalmage
Jun 7, 2011 10:47 pm
I will be quiet now. :) ... [Non-text portions of this message have been removed]...
2280
Deva Satyam
satyamutsa
Jun 7, 2011 9:12 pm
... Works fine now, thanks. ... Being there a good reason for doing so, I don't mind, but this seemed an oversight. After all, if the tree exists at all, it...
2279
John Hawkinson
john.hawkinson
Jun 7, 2011 8:37 pm
Erik Eckhardt <erik@...> wrote on Tue, 7 Jun 2011 ... No, it was as I stated it. Setting bitwise to true prohibits the use of bitwise operators,...
2278
Erik Eckhardt
vorpalmage
Jun 7, 2011 8:28 pm
My proposal was possibly tainted by ignorance of exactly how the options are used, but anyway the germ of the idea is to come up with a new syntax to ...
2277
John Hawkinson
john.hawkinson
Jun 7, 2011 7:59 pm
I have been bothered by the inconsistency as well, and would favor adopting a syntax change that is unambiguous, while permitting the old syntax to remain for...
2276
Erik Eckhardt
vorpalmage
Jun 7, 2011 7:47 pm
I've always wondered why the values were backward and thought it a little confusing. I don't use them (yet) so it hasn't been an issue for me, but figured I...
2275
Douglas Crockford
douglascrock...
Jun 7, 2011 7:30 pm
I want to change the polarity of the left most options: white, onevar, undef, nomen, regexp, plusplus, bitwise, newcap, strict. I think it is confusing to have...
2274
Douglas Crockford
douglascrock...
Jun 7, 2011 7:19 pm
... I have restored arity for literals. I had removed it because with the new type checking stuff, it had become superfluous. Please try it now. I am not...
2273
Merlin
harry152566
Jun 7, 2011 4:39 pm
... On JSLint Edition 2011-06-06 I have rerun your test and I see this: { "value": "(begin)", "first": [ { "value": "var", "arity": "statement", "first": [ { ...
2272
Joshua Bell
inexorabletash
Jun 7, 2011 4:21 pm
... It's not emitting a full AST in the sense that you can look at the node in the output and determine what language element it represents. That would be ...
2271
Deva Satyam
satyamutsa
Jun 7, 2011 11:04 am
... Then, perhaps, we might have found a bug since the tree elements with values "a" and "b" are clearly not of the same nature as those of values "fred" and...
2270
Merlin
harry152566
Jun 7, 2011 10:02 am
... Your code does not look correct to me. For example, look at the tree for the program var a = "fred", b = "jim"; Here is the tree: var tree = { "value":...