From 15451da06b113ed72b771683641fc48d2d00a5bd Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 23 Jun 2015 10:44:57 -0600 Subject: [PATCH] Change RequireJS wireup - fixes #209 --- papaparse.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/papaparse.js b/papaparse.js index d05c067..1d038fe 100644 --- a/papaparse.js +++ b/papaparse.js @@ -25,7 +25,7 @@ // Configurable chunk sizes for local and remote files, respectively Papa.LocalChunkSize = 1024 * 1024 * 10; // 10 MB Papa.RemoteChunkSize = 1024 * 1024 * 5; // 5 MB - Papa.DefaultDelimiter = ","; // Used if not specified and detection fails + Papa.DefaultDelimiter = ","; // Used if not specified and detection fails // Exposed for testing and development only Papa.Parser = Parser; @@ -42,7 +42,7 @@ else if (isFunction(global.define) && global.define.amd) { // Wireup with RequireJS - global.define(function() { return Papa; }); + define(function() { return Papa; }); } else {