From ec6a99d7815a53b3f664d543c204fa5232995d0f Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sat, 12 Oct 2019 18:33:49 +0200 Subject: [PATCH] Bundle all API documentation in a module This commit allows JSDoc to generate all API documentation in the `pdfjsLib` module (namespace) so the documentation becomes easier to navigate. --- src/display/api.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/display/api.js b/src/display/api.js index 4ff888fcd..5114caf69 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -15,6 +15,10 @@ /* globals requirejs, __non_webpack_require__ */ /* eslint no-var: error */ +/** + * @module pdfjsLib + */ + import { AbortException, assert, createPromiseCapability, getVerbosityLevel, info, InvalidPDFException, isArrayBuffer, isSameOrigin, MissingPDFException,