mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Move the postMessageTransfers
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
83d52518da
commit
fdd2376170
3 changed files with 11 additions and 20 deletions
|
@ -349,8 +349,6 @@ function getDefaultSetting(id) {
|
|||
return globalSettings ? globalSettings.cMapUrl : null;
|
||||
case 'cMapPacked':
|
||||
return globalSettings ? globalSettings.cMapPacked : false;
|
||||
case 'postMessageTransfers':
|
||||
return globalSettings ? globalSettings.postMessageTransfers : true;
|
||||
case 'maxImageSize':
|
||||
return globalSettings ? globalSettings.maxImageSize : -1;
|
||||
case 'isEvalSupported':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue