Missing semicolon at end of file "jquery-scrollLock.js"
MiladSadinam opened this issue · 2 comments
MiladSadinam commented
At the end of the file a semicolon is missing. I am using that file in my own minification process which causes an error then.
Would be grateful for a fix.
MohammadYounes commented
I am using JavaScript Standard Style, thus No Semicolons. You'll face problems only if your next file starts with (
, [
, or `
.
Can't you change the files order in your build process ?
MiladSadinam commented
Well I can do this.
I just checked my libraries and most of them start with "(" (e.g. jquery or angularjs). So you would save the users of your library a lot of headache. Specially as it is pain in *** to find errors in minified/uglified code.