Closed akost closed 7 years ago
The same as me .
Sorry for my long delay in answering this guys - I was on an epic holiday through East Africa :)
The problem with the CSS example is that you have effectively commented out the closing curly bracket. To explain further the following javascript won't run because of the same issue:
function() { alert("hello world"); // Error due to function closing brace commented out }
By commenting out the closing brace you are making a syntax error in JS. It is not possible (or desirable) to grok the comments for possible code.
The plugin does not work if there is 'inline' comment and the closing brace on the same line.
The plugin fails on this code example:
I got an error:
Example code: