mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #9988 from Snuffleupagus/rm-mainXRefEntriesOffset
Remove the unused `PDFDocument.mainXRefEntriesOffset` method
This commit is contained in:
commit
88e87ce240
1 changed files with 1 additions and 9 deletions
|
@ -487,15 +487,7 @@ var PDFDocument = (function PDFDocumentClosure() {
|
|||
// shadow the prototype getter with a data property
|
||||
return shadow(this, 'startXRef', startXRef);
|
||||
},
|
||||
get mainXRefEntriesOffset() {
|
||||
var mainXRefEntriesOffset = 0;
|
||||
var linearization = this.linearization;
|
||||
if (linearization) {
|
||||
mainXRefEntriesOffset = linearization.mainXRefEntriesOffset;
|
||||
}
|
||||
// shadow the prototype getter with a data property
|
||||
return shadow(this, 'mainXRefEntriesOffset', mainXRefEntriesOffset);
|
||||
},
|
||||
|
||||
// Find the header, remove leading garbage and setup the stream
|
||||
// starting from the header.
|
||||
checkHeader: function PDFDocument_checkHeader() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue