Move the disableStream option from the global PDFJS object and into getDocument instead

This commit is contained in:
Jonas Jenwald 2018-02-17 22:28:08 +01:00
parent b69abf1111
commit 05c05bdef5
5 changed files with 15 additions and 14 deletions

View file

@ -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,