asafdav / ng-csv

Simple directive that turns arrays and objects into downloadable CSV files
MIT License
573 stars 215 forks source link

jQuery 3+ deprecated `.bind`. Using `on` to attach an event handler i… #202

Open innatewonderer opened 7 years ago

innatewonderer commented 7 years ago

instead of .bind.

Fix taken from ui-router: https://github.com/angular-ui/ui-router/commit/a8aa40ab7c1433904b1f53f506d42d0faca14c3b

innatewonderer commented 7 years ago

I ran grunt on my local and it generated new ng-csv.js and ng-csv.min.js. However it had some other code unrelated to my changes, and i didn't want to commit that...

Suggestions?

ng-csv__branch__master__and_google_hangouts_-_jzueva_gmail_com_and_1__jzueva_omac-c02rj0gjfvh6__bash_