mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
This global was only introduced to work-around problems caused by the GENERIC PDF.js build using top level await. Since that was removed in the previous commit, this global is now dead code.
110 lines
2.3 KiB
JavaScript
110 lines
2.3 KiB
JavaScript
/* Copyright 2016 Mozilla Foundation
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
const {
|
|
AbortException,
|
|
AnnotationEditorLayer,
|
|
AnnotationEditorParamsType,
|
|
AnnotationEditorType,
|
|
AnnotationEditorUIManager,
|
|
AnnotationLayer,
|
|
AnnotationMode,
|
|
build,
|
|
CMapCompressionType,
|
|
ColorPicker,
|
|
createValidAbsoluteUrl,
|
|
DOMSVGFactory,
|
|
DrawLayer,
|
|
FeatureTest,
|
|
fetchData,
|
|
getDocument,
|
|
getFilenameFromUrl,
|
|
getPdfFilenameFromUrl,
|
|
getXfaPageViewport,
|
|
GlobalWorkerOptions,
|
|
ImageKind,
|
|
InvalidPDFException,
|
|
isDataScheme,
|
|
isPdfFile,
|
|
MissingPDFException,
|
|
noContextMenu,
|
|
normalizeUnicode,
|
|
OPS,
|
|
Outliner,
|
|
PasswordResponses,
|
|
PDFDataRangeTransport,
|
|
PDFDateString,
|
|
PDFWorker,
|
|
PermissionFlag,
|
|
PixelsPerInch,
|
|
RenderingCancelledException,
|
|
renderTextLayer,
|
|
setLayerDimensions,
|
|
shadow,
|
|
UnexpectedResponseException,
|
|
updateTextLayer,
|
|
Util,
|
|
VerbosityLevel,
|
|
version,
|
|
XfaLayer,
|
|
} = globalThis.pdfjsLib;
|
|
|
|
export {
|
|
AbortException,
|
|
AnnotationEditorLayer,
|
|
AnnotationEditorParamsType,
|
|
AnnotationEditorType,
|
|
AnnotationEditorUIManager,
|
|
AnnotationLayer,
|
|
AnnotationMode,
|
|
build,
|
|
CMapCompressionType,
|
|
ColorPicker,
|
|
createValidAbsoluteUrl,
|
|
DOMSVGFactory,
|
|
DrawLayer,
|
|
FeatureTest,
|
|
fetchData,
|
|
getDocument,
|
|
getFilenameFromUrl,
|
|
getPdfFilenameFromUrl,
|
|
getXfaPageViewport,
|
|
GlobalWorkerOptions,
|
|
ImageKind,
|
|
InvalidPDFException,
|
|
isDataScheme,
|
|
isPdfFile,
|
|
MissingPDFException,
|
|
noContextMenu,
|
|
normalizeUnicode,
|
|
OPS,
|
|
Outliner,
|
|
PasswordResponses,
|
|
PDFDataRangeTransport,
|
|
PDFDateString,
|
|
PDFWorker,
|
|
PermissionFlag,
|
|
PixelsPerInch,
|
|
RenderingCancelledException,
|
|
renderTextLayer,
|
|
setLayerDimensions,
|
|
shadow,
|
|
UnexpectedResponseException,
|
|
updateTextLayer,
|
|
Util,
|
|
VerbosityLevel,
|
|
version,
|
|
XfaLayer,
|
|
};
|