Browse Source

File streaming outside of workers, fix for Safari (fixes #105)

pull/124/head
Matthew Holt 10 years ago
parent
commit
2eb67778cf
  1. 2
      papaparse.js

2
papaparse.js

@ -565,7 +565,7 @@ @@ -565,7 +565,7 @@
// FileReader is better than FileReaderSync (even in worker) - see http://stackoverflow.com/q/24708649/1048862
// But Firefox is a pill, too - see issue #76: https://github.com/mholt/PapaParse/issues/76
var usingAsyncReader = typeof FileReader === 'function';
var usingAsyncReader = typeof FileReader !== 'undefined'; // Safari doesn't consider it a function (sigh...) - see issue #105
this.stream = function(f)
{

Loading…
Cancel
Save