-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding chunkname to async loaded code #10015
Conversation
src/display/api.js
Outdated
@@ -75,7 +75,7 @@ if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('GENERIC')) { | |||
worker = __non_webpack_require__('./pdf.worker.js'); | |||
} | |||
callback(worker.WorkerMessageHandler); | |||
}); | |||
}, null, 'pdfWorker'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pdfjsWorker
seems like a slightly better choice here, since it would be consistent with the name/alias used in the bundles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, updated!
Looks good to me. Could you please squash the commits into one commit? Refer to https://github.com/mozilla/pdf.js/wiki/Squashing-Commits for how to do that easily. |
Better name
96878e5
to
29c0ea1
Compare
Squashed. |
/botio-windows test |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.215.176.217:8877/cd73239fc3805dd/output.txt |
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/cd73239fc3805dd/output.txt Total script time: 24.75 mins
|
Thank you! |
Improvement, see: #10002