Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in jScrollPane - v2.2.3-rc.1 - jquery.jscrollpane.js #381

Open
cmpt1 opened this issue Mar 10, 2021 · 4 comments
Open

Error in jScrollPane - v2.2.3-rc.1 - jquery.jscrollpane.js #381

cmpt1 opened this issue Mar 10, 2021 · 4 comments

Comments

@cmpt1
Copy link

cmpt1 commented Mar 10, 2021

Unknown error in original version at line 422 jquery.jscrollpane.js

jquery.jscrollpane.min.js - works fine

@illuusio
Copy link
Collaborator

What kind of code encounters this?

@cmpt1
Copy link
Author

cmpt1 commented Mar 12, 2021

I do not know... check it...

Unknown error in original version at line 422 jquery.jscrollpane.js

@illuusio
Copy link
Collaborator

Just curious that is this after isScrollableV option enabled or not..

@blutorange
Copy link

For reference, this happens due to a trailing comma after the last function argument on line 422 (e.g. foo(1,2,3,)). This is now allowed by JavaScript, but apparently not yet supported by the old uglify version it uses. If you either fix that or remove the package-lock.json and run npm install again, it works...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants