|
|
@ -1,9 +1,19 @@ |
|
|
|
/*@license |
|
|
|
/*@license |
|
|
|
Papa Parse |
|
|
|
Papa Parse |
|
|
|
v4.6.0 |
|
|
|
v4.6.0 |
|
|
|
https://github.com/mholt/PapaParse
|
|
|
|
https://github.com/mholt/PapaParse
|
|
|
|
License: MIT |
|
|
|
License: MIT |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Polyfills
|
|
|
|
|
|
|
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#Polyfill
|
|
|
|
|
|
|
|
if (!Array.isArray) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
Array.isArray = function(arg) { |
|
|
|
|
|
|
|
return Object.prototype.toString.call(arg) === '[object Array]'; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
(function(root, factory) |
|
|
|
(function(root, factory) |
|
|
|
{ |
|
|
|
{ |
|
|
|
/* globals define */ |
|
|
|
/* globals define */ |
|
|
@ -41,15 +51,6 @@ |
|
|
|
return {}; |
|
|
|
return {}; |
|
|
|
})(); |
|
|
|
})(); |
|
|
|
|
|
|
|
|
|
|
|
// Polyfills
|
|
|
|
|
|
|
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray#Polyfill
|
|
|
|
|
|
|
|
if (!Array.isArray) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
Array.isArray = function(arg) { |
|
|
|
|
|
|
|
return Object.prototype.toString.call(arg) === '[object Array]'; |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var IS_WORKER = !global.document && !!global.postMessage, |
|
|
|
var IS_WORKER = !global.document && !!global.postMessage, |
|
|
|
IS_PAPA_WORKER = IS_WORKER && /(\?|&)papaworker(=|&|$)/.test(global.location.search), |
|
|
|
IS_PAPA_WORKER = IS_WORKER && /(\?|&)papaworker(=|&|$)/.test(global.location.search), |
|
|
|
LOADED_SYNC = false, AUTO_SCRIPT_PATH; |
|
|
|
LOADED_SYNC = false, AUTO_SCRIPT_PATH; |
|
|
|