mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
Move the array containing the supported image mime types in display_utils
and make it available for the viewer (it'll be used in the signature UI).
This commit is contained in:
parent
42c2b7b657
commit
2c737bc420
6 changed files with 30 additions and 34 deletions
|
@ -52,6 +52,7 @@ import {
|
|||
RenderingCancelledException,
|
||||
setLayerDimensions,
|
||||
stopEvent,
|
||||
SupportedImageMimeTypes,
|
||||
} from "../../src/display/display_utils.js";
|
||||
import { AnnotationEditorLayer } from "../../src/display/editor/annotation_editor_layer.js";
|
||||
import { AnnotationEditorUIManager } from "../../src/display/editor/tools.js";
|
||||
|
@ -103,6 +104,7 @@ const expectedAPI = Object.freeze({
|
|||
setLayerDimensions,
|
||||
shadow,
|
||||
stopEvent,
|
||||
SupportedImageMimeTypes,
|
||||
TextLayer,
|
||||
TouchManager,
|
||||
Util,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue