On Tue, Jan 19, 2010 at 6:31 PM, Douglas Crockford ... Wow, quick turnaround! Works wonderfully. In the meantime, I've made another mistake regarding RGBA...
1062
Douglas Crockford
douglascrock...
Jan 19, 2010 5:34 pm
... Thanks. Please try it now....
1061
Mike West
mikewest_y
Jan 19, 2010 5:00 pm
JSLint doesn't appear to recognize the (relatively new) `rgba` syntax for defining colors with alpha channels. Specifically: @charset "UTF-8"; div { ...
1060
Douglas Crockford
douglascrock...
Jan 13, 2010 1:15 pm
... Sorry about that. Please try it now....
1059
Harry Whitfield
harry152566
Jan 13, 2010 11:51 am
... This also occurs with a single line such as; var foo = 2.3; which gives: Error: Problem at line 1 character 9: It is not necessary to initialize 'foo' to...
1058
walfisch_in_the_sea
walfisch_in_...
Jan 13, 2010 7:39 am
Hi, I have a queer error message in my code. //My full code: "use strict"; var foo = true; //The error message: Error: Problem at line 2 character 9: It is not...
1057
walfisch_in_the_sea
walfisch_in_...
Jan 11, 2010 10:52 am
Ah, thanks....
1056
Douglas Crockford
douglascrock...
Jan 11, 2010 12:14 am
... The "use strict"; pragma is only meaningful at the first statement of a file or first statement of a function body. Anywhere else it is just a useless...
1055
walfisch_in_the_sea
walfisch_in_...
Jan 11, 2010 12:09 am
... Sorry, I didn't mean the linting. Is it valid ecmascript5 to switch from non-strict mode to strict mode within one file? That might happen by concatenating...
1054
Douglas Crockford
douglascrock...
Jan 10, 2010 10:53 pm
... No. You should be linting the individual files....
1053
walfisch_in_the_sea
walfisch_in_...
Jan 10, 2010 10:41 pm
Hi. In production mode I concatenate my files. What if one of them is not in strict mode? So the result is: //none-strict-mode-ecmascript "use strict"; ...
1052
Noah Sussman
thefangmonster
Jan 8, 2010 2:46 pm
... How about http://www.jslint.com/fulljslint.js...
1051
Klemen SlaviÄ
klemen.slavic
Jan 8, 2010 2:42 pm
Or try a code beautifier: http://jsbeautifier.org/ 2010/1/8 Douglas Crockford <douglas@...> ... [Non-text portions of this message have been removed]...
1050
Douglas Crockford
douglascrock...
Jan 8, 2010 2:40 pm
... Read the instructions. http://www.jslint.com/lint.html...
1049
Ekrem Tomur
kumushoq
Jan 8, 2010 2:19 pm
Can somebody send me well formatted version of jslint.js? I really do not want to waste my time on preprocessing since it is wrong and limited. I want to try...
1048
Morgaut Alexandre Lou...
morgaut_a
Jan 7, 2010 5:17 pm
I saw in previous posts kind of same "assume" request for some ssjs environment. I think it might be harder to assume "mozilla" or "commonjs" Than "browser"...
1047
Tom Byers
tomwillbyers
Jan 7, 2010 2:03 pm
Interesting and kind of a catch 22. If Äkräm substitutes let and const then he is using the syntax of the language he is working in against the spec, the...
1046
Ekrem Tomur
kumushoq
Jan 7, 2010 1:21 pm
Hi Harry, Thank you for your helpful thoughts. But since I am a tester on a mozilla extension project and those js code I am testing meant to run on mozilla ...
1045
Harry Whitfield
harry152566
Jan 7, 2010 12:45 pm
Äkräm, Instead of trying to modify JSLint to accept non-standard JavaScript, you could consider altering the JavaScript code to make it conform to the...
1044
Simon Kenyon Shepard
sks0001010
Jan 7, 2010 12:43 pm
Sincere apologies if any offence was caused/time wasted, I agree with your position that it was not relevant to the topic at all. ... -- "We are the music...
1043
Tom Byers
tomwillbyers
Jan 7, 2010 12:31 pm
Not helpful to the group at all. Also not helping as the issue seems to be if there should be an option for working with Mozilla JS, an important question...
1042
Ekrem Tomur
kumushoq
Jan 7, 2010 11:57 am
Hi Simon, Thanks for your suggestion. I do apologize if I am not being friendly enough to the list, it might be because of our cultural difference or my...
1041
Simon Kenyon Shepard
sks0001010
Jan 7, 2010 11:25 am
Hi Äkräm, I cannot help you with your JSLint problem, but may I suggest the following book: ...
1040
Ekrem Tomur
kumushoq
Jan 7, 2010 10:34 am
Hi, Can somebody propose me a small patch or hint, I would like to implement a workaround as treat all 'let' and 'const39; like 'var'. So in this way I can ...
1039
Ekrem Tomur
kumushoq
Jan 5, 2010 1:14 pm
sorry, I forgot to tell, I am using JSLint to test Mozilla Javascript. Is that sound very stupid? If so I will stop doing that. If not can you tell me how to...
1038
Douglas Crockford
douglascrock...
Jan 5, 2010 1:06 pm
... They are not. let and const are not in any edition of the ECMAScript standard. Stick with the standard language. Use var instead....
1037
Ekrem Tomur
kumushoq
Jan 5, 2010 12:56 pm
Hi List, Can somebody tell me why JSLint give me these errors? I think let, const are JavaScript language feature. Lint at line 38 character 1: Expected an...
1036
Pelle Wessman
voxpelli
Jan 5, 2010 10:43 am
Node.js have very few globals so you could easily tell JSLint about them. One way of doing that is to add this line in the beginning of your Node.js-files: ...
1035
Nicklas Widlund Bjurman
lordmetroid
Jan 4, 2010 9:02 pm
Hi jslint.com mailing list, As a programmer of server side JavaScript software I would be very convenient if jslint also supported other APIs other than the...
1034
jameswcryer
Dec 23, 2009 5:10 pm
A good point well made, and yes we're using YUICompressor. Cheers, James....