angular-ui/ui-grid

CSV is undefined when using requireJS

Open

#4,322 opened on Sep 4, 2015

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (5,395 stars) (2,496 forks)batch import
good first issuegrid-exporter

Description

I'm not sure what the proper fix for this, but if you inserted this one line before line 484 of imported.js, it starts working:

var CSV = require('csv');

Again, not sure if this is a proper fix. Someone who knows a bit more about requireJS should comment.

Contributor guide