mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Move the workerPort
from the global PDFJS
object and into GlobalWorkerOptions
instead
This commit is contained in:
parent
003bd4044b
commit
45adf33187
4 changed files with 4 additions and 10 deletions
|
@ -351,8 +351,6 @@ function getDefaultSetting(id) {
|
|||
return globalSettings ? globalSettings.cMapPacked : false;
|
||||
case 'postMessageTransfers':
|
||||
return globalSettings ? globalSettings.postMessageTransfers : true;
|
||||
case 'workerPort':
|
||||
return globalSettings ? globalSettings.workerPort : null;
|
||||
case 'workerSrc':
|
||||
return globalSettings ? globalSettings.workerSrc : null;
|
||||
case 'maxImageSize':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue