mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Remove variable shadowing from the JavaScript files in the src/core/
folder
*This is part of a series of patches that will try to split PR 11566 into smaller chunks, to make reviewing more feasible.* Once all the code has been fixed, we'll be able to eventually enable the ESLint no-shadow rule; see https://eslint.org/docs/rules/no-shadow
This commit is contained in:
parent
b86df97725
commit
216cbca16c
11 changed files with 135 additions and 140 deletions
|
@ -216,8 +216,8 @@ class Page {
|
|||
// Fetching the individual streams from the array.
|
||||
const xref = this.xref;
|
||||
const streams = [];
|
||||
for (const stream of content) {
|
||||
streams.push(xref.fetchIfRef(stream));
|
||||
for (const subStream of content) {
|
||||
streams.push(xref.fetchIfRef(subStream));
|
||||
}
|
||||
stream = new StreamsSequenceStream(streams);
|
||||
} else if (isStream(content)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue