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

Add jquery.csv.min.js not recognized by minify #140

Open
garug opened this issue Jul 6, 2020 · 6 comments
Open

Add jquery.csv.min.js not recognized by minify #140

garug opened this issue Jul 6, 2020 · 6 comments

Comments

@garug
Copy link

garug commented Jul 6, 2020

I'm trying add jquery-csv in my application, tried some solutions but when invoke .toArrays got 'cannot call toArrays of undefined'

@evanplaice
Copy link
Owner

Are you using jQuery? Did you import jQuery first?

@garug
Copy link
Author

garug commented Jul 7, 2020

Yeah, jquery is imported.

I resolved putting some comment before the script, like

/*!
 * jquery-csv
 */

Maybe add some infos like version or author to the repository? This works very well for me.

@adriangordon1231
Copy link

@garug I am experiencing the same issue. What script are you referring to? Are you talking about the custom script you are writing or the jquery-csv.js file ?

@garug
Copy link
Author

garug commented Mar 26, 2021

@garug I am experiencing the same issue. What script are you referring to? Are you talking about the custom script you are writing or the jquery-csv.js file ?

In jquery.csv.min.js

@adriangordon1231
Copy link

adriangordon1231 commented Mar 27, 2021

@garug Thanks. What did the trick for me was using "$" instead of "jQuery"

@evanplaice
Copy link
Owner

I'm curious. Why are you minifying an already minified source? Why not use jquery.csv.js?

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