Remove outdated, and misleading, JSDoc comment from the PDFDocument class

The contents of this comment hasn't been correct for *years*, ever since the library was properly split into main/worker-threads, so it's probably high time for this to be updated.
This commit is contained in:
Jonas Jenwald 2019-11-25 11:25:57 +01:00
parent 827eb64b75
commit cc76132c24

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
* 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.
* The `PDFDocument` class holds all the (worker-thread) data of the PDF file.
*/
class PDFDocument {
constructor(pdfManager, arg) {