Browse Source

Minor worker-related sanity check over script path

pull/70/head
Matthew Holt 11 years ago
parent
commit
346d4aeb56
  1. 2
      papaparse.js

2
papaparse.js

@ -147,7 +147,7 @@ @@ -147,7 +147,7 @@
function CsvToJson(_input, _config)
{
var config = IS_WORKER ? _config : copyAndValidateConfig(_config);
var useWorker = config.worker && Papa.WORKERS_SUPPORTED;
var useWorker = config.worker && Papa.WORKERS_SUPPORTED && SCRIPT_PATH;
if (useWorker)
{

Loading…
Cancel
Save