mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +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
|
@ -346,8 +346,6 @@ function getDefaultSetting(id) {
|
|||
return globalSettings ? globalSettings.disableFontFace : false;
|
||||
case 'disableCreateObjectURL':
|
||||
return globalSettings ? globalSettings.disableCreateObjectURL : false;
|
||||
case 'isEvalSupported':
|
||||
return globalSettings ? globalSettings.isEvalSupported : true;
|
||||
default:
|
||||
throw new Error('Unknown default setting: ' + id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue