Comments (2)
Adding this to the top of helpers.js seems to fix the problem:
if (global === undefined) {
var global = window;
}
from jquery-csv.
Yep. Relying on functions that map to globals (ie window/self) is a bad idea.
That's how jquery works and this lib is designed to piggy-back onto jquery's $
namespace.
If you want a csv parser lib that doesn't use globals, check out CSV-ES. It's a ground-up rewrite of jquery-csv designed w/ more modern best practices in mind.
from jquery-csv.
Related Issues (20)
- How to trim columns with empty headers HOT 1
- spec(Add Missing Tests) HOT 1
- spec(Create New Demo Template and Migrate the Existing Examples to it) HOT 1
- Link to basic usage demonstration is broken HOT 2
- The Post-1.0 Future HOT 9
- Update CDNJS? HOT 4
- v1.0.1+ triggers NPM install EISGIT error HOT 3
- Fix security vulnerability HOT 1
- As simple standard CSV-reader what is better? HOT 1
- Add jquery.csv.min.js not recognized by minify HOT 6
- multiple problems with newlines in cells HOT 1
- broken example for file handling HOT 4
- Tab as delimiter breaks parsing HOT 1
- csv.replace HOT 1
- toArrays() of single field file appears to omit the final row HOT 3
- Documentation error HOT 2
- Conversion error in .toObjects()
- $ is not defined HOT 1
- toObject Basic Usage Sample Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-csv.