mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Move the verbosity
option from the global PDFJS
object and into getDocument
/PDFWorker
instead
Given the purpose of this option, it doesn't seem necessary to make it available through `GlobalWorkerOptions`.
This commit is contained in:
parent
fdd2376170
commit
a97901efb6
6 changed files with 35 additions and 47 deletions
|
@ -740,6 +740,8 @@ let PDFViewerApplication = {
|
|||
PDFJSDev.test('FIREFOX || MOZCENTRAL || CHROME')) {
|
||||
parameters.docBaseUrl = this.baseUrl;
|
||||
}
|
||||
// TODO: Remove this once all options are moved from the `PDFJS` object.
|
||||
parameters.verbosity = PDFJS.verbosity;
|
||||
|
||||
if (args) {
|
||||
for (let prop in args) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue