mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Don't traverse all pages to get a single page.
This commit is contained in:
parent
516d2e79be
commit
c2d65fc4ab
8 changed files with 183 additions and 84 deletions
|
@ -494,10 +494,6 @@ var PDFDocument = (function PDFDocumentClosure() {
|
|||
return shadow(this, 'fingerprint', fileID);
|
||||
},
|
||||
|
||||
traversePages: function PDFDocument_traversePages() {
|
||||
this.catalog.traversePages();
|
||||
},
|
||||
|
||||
getPage: function PDFDocument_getPage(pageIndex) {
|
||||
return this.catalog.getPage(pageIndex);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue