mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +02:00
Remove Util.appendToArray
and Util.prependToArray
The former may be replaced by regular JavaScript array concatenation and the latter is unused. This avoids unnecessary function calls/imports.
This commit is contained in:
parent
db874b6680
commit
903bad1906
3 changed files with 3 additions and 11 deletions
|
@ -1075,7 +1075,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
|
|||
return;
|
||||
}
|
||||
Util.extendObj(textContent.styles, value.styles);
|
||||
Util.appendToArray(textContent.items, value.items);
|
||||
textContent.items.push(...value.items);
|
||||
pump();
|
||||
}, reject);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue