So I've got the following code:
var e = document.createElement("div");
This generates a warning and one error, which are underlined above with a yellow and red line, respectively.
- Warning: Type mismatch: cannot convert from Element to ___e1
- Error: The function appendChild(Text) is undefined for the type ___e1
And a description of why this is stupid:
- And this error is caused by the first warning - the function exists on Elements, but not the type is invented from nowhere.
Gee, I hate "SUBJECT MUST CONTAIN AT LEAST ONE NON-WS CHARACTER"
Funny thing is you can type this:
Element e = document.createElement("div");(instead of
var e = ...) and this make the validator happy. But of course it doesn't work in browsers. Grrr...
In reply to Gee, I hate "SUBJECT MUST CONTAIN AT LEAST ONE NON-WS CHARACTER" by Cromax (not verified)
You'd be amazed...
You'd be amazed at how much comment spam the comment rules block.
Really, it's ridiculous. It does make posting comments somewhat more annoying, but it blocks pretty much all comment spam.