Add comments to the export
list in the src/pdf.js
file (PR 11914 follow-up)
When converting this file to use standard `import`/`export` statements, I sorted the exports in the same order as the imports to simplify things. However, looking at the list of `export`ed properties it probably doesn't hurt to add a couple of comments to clarify from where specifically the `export`s originated.
This commit is contained in:
parent
9d38dd4e8b
commit
4d60430b1c
@ -124,18 +124,21 @@ if (typeof PDFJSDev === "undefined" || !PDFJSDev.test("PRODUCTION")) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
// From "./display/display_utils.js":
|
||||||
addLinkAttributes,
|
addLinkAttributes,
|
||||||
getFilenameFromUrl,
|
getFilenameFromUrl,
|
||||||
LinkTarget,
|
LinkTarget,
|
||||||
loadScript,
|
loadScript,
|
||||||
PDFDateString,
|
PDFDateString,
|
||||||
RenderingCancelledException,
|
RenderingCancelledException,
|
||||||
|
// From "./display/api.js":
|
||||||
build,
|
build,
|
||||||
getDocument,
|
getDocument,
|
||||||
LoopbackPort,
|
LoopbackPort,
|
||||||
PDFDataRangeTransport,
|
PDFDataRangeTransport,
|
||||||
PDFWorker,
|
PDFWorker,
|
||||||
version,
|
version,
|
||||||
|
// From "./shared/util.js":
|
||||||
CMapCompressionType,
|
CMapCompressionType,
|
||||||
createObjectURL,
|
createObjectURL,
|
||||||
createPromiseCapability,
|
createPromiseCapability,
|
||||||
@ -151,9 +154,14 @@ export {
|
|||||||
UNSUPPORTED_FEATURES,
|
UNSUPPORTED_FEATURES,
|
||||||
Util,
|
Util,
|
||||||
VerbosityLevel,
|
VerbosityLevel,
|
||||||
|
// From "./display/annotation_layer.js":
|
||||||
AnnotationLayer,
|
AnnotationLayer,
|
||||||
|
// From "./display/api_compatibility.js":
|
||||||
apiCompatibilityParams,
|
apiCompatibilityParams,
|
||||||
|
// From "./display/worker_options.js":
|
||||||
GlobalWorkerOptions,
|
GlobalWorkerOptions,
|
||||||
|
// From "./display/text_layer.js":
|
||||||
renderTextLayer,
|
renderTextLayer,
|
||||||
|
// From "./display/svg.js":
|
||||||
SVGGraphics,
|
SVGGraphics,
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user