Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JAVASCRIPT-1.0
-
Fix Version/s: JAVASCRIPT-1.1
-
Component/s: JavaScript
-
Labels:None
-
Number of attachments :
Description
In the following case a lexing issue is raised whereas this should not be the case :
13:48:50 ---------------
13:48:50 168 }
13:48:50 169 function closePopupOver()
13:48:50 170 {
13:48:50 171 $('#mask').hide();
13:48:50 172 $('.window').hide();
13:48:50 173 showDropdowns();
13:48:50 174 }
13:48:50 175
13:48:50 --> <!-- This is a comment -->
13:48:50 177 function selectRadioButton()
13:48:50 178 {
13:48:50 179 document.getElementById('ModalPopupDivQuote').innerHTML=""
Issue Links
- is related to
-
SONARPLUGINS-2290
Rule: Do not use HTML comments, because they are not part of EcmaScript specification
-
Freddy, where this code was obtained? The thing is that according to ECMAScript standard there is only two types of comments : "//" and "/* .. */".