Merge pull request #11356 from Snuffleupagus/rm-wrong-PDFDocument-comment

Remove outdated, and misleading, JSDoc comment from the `PDFDocument` class
This commit is contained in:
Tim van der Meij 2019-11-25 22:24:54 +01:00 committed by GitHub
commit dcf998a1c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -362,10 +362,7 @@ function find(stream, needle, limit, backwards = false) {
} }
/** /**
* The `PDFDocument` class holds all the data of the PDF file. There exists * The `PDFDocument` class holds all the (worker-thread) data of the PDF file.
* one `PDFDocument` object on the main thread and one object for each worker.
* If no worker support is enabled, two `PDFDocument` objects are created on
* the main thread.
*/ */
class PDFDocument { class PDFDocument {
constructor(pdfManager, arg) { constructor(pdfManager, arg) {