-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use XHR to load worker only if needed
Rather than always loading the pdf.worker.js source through XHR, first try creating a worker using the pdf.worker.js url. If that fails, use XHR. If that also fails, use a fake worker. Removed some earlier changes that ware unnecessary.
- Loading branch information
Showing
3 changed files
with
185 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.