Skip to content

Commit

Permalink
? linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-dimitru committed Dec 9, 2017
1 parent 72c81cd commit 027aca1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@
};

fileReader.readAsDataURL(_chunk);

} else if (root.FileReaderSync) {
fileReader = new FileReaderSync();
postMessage({bin: fileReader.readAsDataURL(_chunk).split(',')[1], chunkId: e.data.cc});

} else {
postMessage({bin: null, chunkId: e.data.cc, error: 'File API is not supported in WebWorker!'});
}
Expand Down

0 comments on commit 027aca1

Please sign in to comment.