MohammadYounes/jquery-scrollLock

Missing semicolon at end of file "jquery-scrollLock.js"

MiladSadinam opened this issue · 2 comments

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.

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 ?

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.