mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 10:15:37 +02:00
Move the imageResourcesPath
option to a BaseViewer
/PDFPageView
/AnnotationLayerBuilder
option
This removes the `PDFJS.imageResourcesPath` dependency from the viewer components and the test-suite, but please note that as a *temporary* solution the default viewer still uses it.
This commit is contained in:
parent
fdf99c6af5
commit
c45c394364
9 changed files with 42 additions and 24 deletions
|
@ -363,8 +363,6 @@ function getDefaultSetting(id) {
|
|||
return globalSettings ? globalSettings.workerSrc : null;
|
||||
case 'maxImageSize':
|
||||
return globalSettings ? globalSettings.maxImageSize : -1;
|
||||
case 'imageResourcesPath':
|
||||
return globalSettings ? globalSettings.imageResourcesPath : '';
|
||||
case 'isEvalSupported':
|
||||
return globalSettings ? globalSettings.isEvalSupported : true;
|
||||
case 'externalLinkTarget':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue