mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #10015 from cheryly279/add-chunkname
Adding chunkname to async loaded code
This commit is contained in:
commit
49cd8da7ff
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('GENERIC')) {
|
|||
worker = __non_webpack_require__('./pdf.worker.js');
|
||||
}
|
||||
callback(worker.WorkerMessageHandler);
|
||||
});
|
||||
}, null, 'pdfjsWorker');
|
||||
}) : dynamicLoaderSupported ? (function (callback) {
|
||||
requirejs(['pdfjs-dist/build/pdf.worker'], function (worker) {
|
||||
callback(worker.WorkerMessageHandler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue