mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Adding chunkname to async loaded code
Better name
This commit is contained in:
parent
436d2efa8a
commit
29c0ea159d
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