evanplaice / jquery-csv

A jQuery CSV parser plugin. Battle Tested | Optimized | 100% IETF RFC 4180 Complete
MIT License
764 stars 439 forks source link

broken example for file handling #143

Open neihcnim opened 4 years ago

neihcnim commented 4 years ago

Consider http://evanplaice.github.io/jquery-csv/examples/file-handling.html

Environment

Steps to reproduce

After the csv file is uploaded, nothing happens.

Expected behaviour

The csv data should be parsed.

Actual behaviour

Nothing happens

evanplaice commented 4 years ago

Thank you for the report, I'm on it

danbaghilovici commented 3 years ago

Adding var global=window; to helpers.js solved the issue

evanplaice commented 3 years ago

Fixed in v1.0.20

The JSDelivr CDN takes its sweet time to flush the cache. It should be working by tomorrow.

XenonofArcticus commented 3 years ago

FWIW, the CDN still doesn't seem to be flushed. http://evanplaice.github.io/jquery-csv/examples/helpers.js still lacks the global declaration as of today.