1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #19577 from Snuffleupagus/isValidExplicitDest-reuse

Re-use the `isValidExplicitDest` helper function in the worker/viewer
This commit is contained in:
Tim van der Meij 2025-03-02 15:50:54 +01:00 committed by GitHub
commit be6ef64a2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 90 additions and 119 deletions

View file

@ -36,6 +36,7 @@ import {
import {
build,
getDocument,
isValidExplicitDest,
PDFDataRangeTransport,
PDFWorker,
version,
@ -94,6 +95,7 @@ const expectedAPI = Object.freeze({
InvalidPDFException,
isDataScheme,
isPdfFile,
isValidExplicitDest,
noContextMenu,
normalizeUnicode,
OPS,