mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Move the disableStream
option from the global PDFJS
object and into getDocument
instead
This commit is contained in:
parent
b69abf1111
commit
05c05bdef5
5 changed files with 15 additions and 14 deletions
|
@ -155,6 +155,11 @@ const defaultOptions = {
|
|||
value: apiCompatibilityParams.disableRange || false,
|
||||
kind: OptionKind.API,
|
||||
},
|
||||
disableStream: {
|
||||
/** @type {boolean} */
|
||||
value: apiCompatibilityParams.disableStream || false,
|
||||
kind: OptionKind.API,
|
||||
},
|
||||
isEvalSupported: {
|
||||
/** @type {boolean} */
|
||||
value: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue