pdf.js/external
Jonas Jenwald 56a8c934dd [api-major] Remove the PDFJS.disableWorker option
Despite this patch removing the `disableWorker` option itself, please note that we'll still fallback to loading the worker file(s) on the main-thread when running in environments without proper Web Worker support.

Furthermore it's still possible, even with this patch, to force the use of fake workers by manually loading the necessary file using a `<script>` tag on the main-thread.[1]
That way, the functionality of the now removed `SINGLE_FILE` build target and the resulting `build/pdf.combined.js` file can still be achieved simply by adding e.g. `<script src="build/pdf.worker.js"></script>` to the HTML (obviously with the path adjusted as needed).

Finally note that the `disableWorker` option is a performance footgun, and unfortunately many existing third-party examples actually use it without providing any sort of warning/justification.

---

[1] This approach is used in the default viewer, since certain kind of debugging may be easier if the code is running directly on the main-thread.
2018-01-31 12:52:10 +01:00
..
bcmaps Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00
builder Fix the remaining cases of inconsistent spacing and trailing commas in objects, and enable the comma-dangle and object-curly-spacing ESLint rules 2017-06-03 23:35:37 +02:00
cmapscompress Updates make.js for cmaps and make binary cmaps by default 2014-03-17 13:30:43 -05:00
dist [api-major] Remove the PDFJS.disableWorker option 2018-01-31 12:52:10 +01:00
importL10n Replace a couple of leftover make.js references with gulpfile.js in docs/comments 2017-05-19 23:45:54 +02:00
streams Added sendWithStream method in MessageHandler. 2017-06-07 21:05:27 +05:30
systemjs Fix the remaining cases of inconsistent spacing and trailing commas in objects, and enable the comma-dangle and object-curly-spacing ESLint rules 2017-06-03 23:35:37 +02:00
webL10n Wraps mozL10n to async calls; splits firefox and generic l10n libs. 2017-05-31 09:22:25 -05:00
webpack Remove __pdfjsdev_webpack__, use webpack options 2017-07-09 16:35:48 +02:00
.eslintrc Removes shelljs 2017-05-19 07:53:05 -05:00
.gitignore Removes external/cmaps; adds binary cmaps to the repo 2014-03-17 13:30:27 -05:00