JS Inline Comments Causing Error?
-
If there’s inline comment in the JavaScript, it may break the code.
Say there are 2 files:
alert('test'); // inline comment
and
alert('test2');
There is a possibility that AO will combine the files into:
alert('test'); // inline comment alert('test2');
This breaks the 2nd file. Can JS inline comment be removed?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘JS Inline Comments Causing Error?’ is closed to new replies.