Is that for real?
So I need a semicolon at the end of a line terminated with a brace?
...onmouseover=function(){ms.hideCurrent();}}
Lint warning: missing semicolon
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
I doubt you need one... but it may be considered good style by the JavaScript linter and thus it is telling you about it.
Can you right-click on that message and disable it? If not, then I can probably add that feature for that message... just send me some sample code that I can use to reproduce the exact message. Thanks.
Can you right-click on that message and disable it? If not, then I can probably add that feature for that message... just send me some sample code that I can use to reproduce the exact message. Thanks.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank VI - Professional
- Posts: 596
- Joined: Mon Jun 09, 2008 2:12 pm
- Location: Fargo, ND
-
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
Thanks. I've now added the ability to disable just that lint warning - "lint warning: missing semicolon".
You can turn off JavaScript linting completely or just lint warnings. These options are in the JavaScript tab of the Validator Engine Options.
You can turn off JavaScript linting completely or just lint warnings. These options are in the JavaScript tab of the Validator Engine Options.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial