... Why do you want to put a script in a fieldset?...
3071
douglascrockford
douglascrock...
Nov 18, 2012 2:23 am
The Tolerate HTML Case option was one of the first options added to JSLint. HTML tags were originally written in upper case, but tastes changed and now they...
3072
douglascrockford
douglascrock...
Nov 18, 2012 2:55 am
... Please try it now....
3073
Owen
eclipsechasers2
Nov 18, 2012 6:48 am
I am trying to analyze some code I've inherited which does this 20+ times. I can wrap each of them in divs if need be; that just seems like "busy work",...
3074
Felix E. Klee
feklee
Nov 18, 2012 9:47 am
On Sun, Nov 18, 2012 at 3:23 AM, douglascrockford ... Furthermore, in XHTML tags have to be in lower case: <http://www.w3.org/TR/xhtml1/#h-4.2>...
3075
jontro123
Nov 19, 2012 11:27 am
The following code causes an error in internet explorer: var window; "SCRPT5039: Redeclaration of const property line 1 character 1" For us it would be useful...
3076
douglascrockford
douglascrock...
Nov 19, 2012 8:36 pm
... It causes no harm on all of the other browsers. I recommend that you report it to Microsoft instead. For over a decade we have tried to work around IE's...
3077
cse_html_validator
cse_html_val...
Nov 19, 2012 11:24 pm
... Great. It doesn't abort/stop anymore. Thanks....
3078
Joe Hansche
joeatrr
Nov 20, 2012 7:26 am
Hallelujah. ... [Non-text portions of this message have been removed]...
3079
rodobrist
Nov 26, 2012 1:59 am
Hi guys, I was coding and I noticed that I often make the same error from using reduce. e.g. var options = ['nocaps39;, 'evil', 'node', 'browser39;], ...
3080
douglascrockford
douglascrock...
Nov 26, 2012 12:51 pm
... I think the error may be that you are using the wrong method: reduce when you should forEach. I am not sure how to test for that....
3082
rodobrist
Nov 26, 2012 11:34 pm
... No, I know when to use each method. Ill try to give another example, the JSLint source uses a method named array_to_object, which can be re-written like...
3083
douglascrockford
douglascrock...
Nov 26, 2012 11:38 pm
... function array_to_object(array) { var result = {}; array.forEach(function (key) { result[key] = true; }); return result; }...
3084
rodobrist
Nov 27, 2012 12:28 am
... Ok, thanks Doug. I suppose that construct is less prone to errors....
3085
sandyhead25
Dec 27, 2012 7:21 pm
There appears to be a new rule that looks for unnecessary parenthesis, but this rule gets confused when wrapping regex: var mhtml = true, disqualify = (mhtml)...
3086
douglascrockford
douglascrock...
Dec 27, 2012 7:32 pm
... I completely agree. It is wise to wrap regexp literals in parens to avoid syntactic weirdness. But that is not what JSLint is complaining about. Try this: ...
3087
sandyhead25
Dec 28, 2012 4:01 am
Thank you! Austin...
3088
Matthew Potter
askmatthewpo...
Jan 2, 2013 12:04 am
I’ve run into an error that is a bit strange to see. The <summary> tag is not allowed as it is unrecognized however the <details> tag is allowed. I’ve...
3089
douglascrockford
douglascrock...
Jan 2, 2013 1:53 pm
... Thanks. Please try it now....
3090
george_weilenmann
george_weile...
Jan 10, 2013 5:48 am
Unexpected '*'. Rationale for acceptance: The * selector in CSS, also known as the universal selector, is useful for setting styling to the full array of...
3091
george_weilenmann
george_weile...
Jan 12, 2013 6:06 am
Would also like to see CSS 3.0 style attributes added as modern browsers now support them. And those that don't can have graceful fallback....
3092
douglascrockford
douglascrock...
Jan 14, 2013 9:55 pm
... Can you be more specific?...
3093
george_weilenmann
george_weile...
Jan 15, 2013 6:59 am
Directives Missing @media @keyframes FF 16+, IE 10, Opera 12.10; Chrome, Android, Safari 4, Opera 12, with prefix, @import [url] list-of-media-queries the...
3094
Luke Page
page.luke...
Jan 18, 2013 9:28 am
Hi, My colleague was linting this and getting an error var a = /<.+>[^]<.+>/; Unescaped '^'. He argued that [^] was a valid succinct way of saying "any...
3095
Tom Worster
thefsb
Jan 18, 2013 2:22 pm
... ah yes, very clever. most impressive. and *therefore* it is, i think, the kind of thing jslint should grumble about. regexes are hard enough to understand...
3096
Luke Page
page.luke...
Jan 18, 2013 3:02 pm
I think it looks like an error if you haven't come across it before, but once you have, it is probably quite understandable. You could argue that it could be a...
3097
Peter Buckner
peterrbuckner
Jan 18, 2013 3:42 pm
such cleverness isn't valid in other regex languages, so it would seem to an unfortunate pattern to learn. -- -Peter Buckner ... [Non-text portions of this...
3098
Ben White
benxwhite
Jan 18, 2013 6:35 pm
If you read the documentation on mozilla.org you will find [^] as their suggested "any character" expression Ben ... [Non-text portions of this message have...
3099
george_weilenmann
george_weile...
Jan 18, 2013 11:37 pm
Can you point me to the specific link, page, paragraph etc. where this is spec'd, I looked on mozilla and could not find this "suggestion". I wanted to take a...
3100
Keradus
keradmaster
Jan 19, 2013 1:07 am
2013/1/19 george_weilenmann <abyssoft@...> ... https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/RegExp "The character set [^]...