mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 23:28:06 +02:00
Move the isEvalSupported
option from the global PDFJS
object and into getDocument
instead
This commit is contained in:
parent
3c2fbdffe6
commit
f3900c4e57
5 changed files with 27 additions and 31 deletions
|
@ -139,6 +139,11 @@ const defaultOptions = {
|
|||
'../external/bcmaps/' : '../web/cmaps/'),
|
||||
kind: OptionKind.API,
|
||||
},
|
||||
isEvalSupported: {
|
||||
/** @type {boolean} */
|
||||
value: true,
|
||||
kind: OptionKind.API,
|
||||
},
|
||||
maxImageSize: {
|
||||
/** @type {number} */
|
||||
value: -1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue