mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Fix the linting errors, from the Prettier auto-formatting, that ESLint --fix
couldn't handle
This patch makes the follow changes: - Remove no longer necessary inline `// eslint-disable-...` comments. - Fix `// eslint-disable-...` comments that Prettier moved down, thus causing new linting errors. - Concatenate strings which now fit on just one line. - Fix comments that are now too long. - Finally, and most importantly, adjust comments that Prettier moved down, since the new positions often is confusing or outright wrong.
This commit is contained in:
parent
de36b2aaba
commit
a63f7ad486
46 changed files with 179 additions and 219 deletions
|
@ -202,13 +202,13 @@ class PDFFindController {
|
|||
this._pageMatches = [];
|
||||
this._pageMatchesLength = [];
|
||||
this._state = null;
|
||||
// Currently selected match.
|
||||
this._selected = {
|
||||
// Currently selected match.
|
||||
pageIdx: -1,
|
||||
matchIdx: -1,
|
||||
};
|
||||
// Where the find algorithm currently is in the document.
|
||||
this._offset = {
|
||||
// Where the find algorithm currently is in the document.
|
||||
pageIdx: null,
|
||||
matchIdx: null,
|
||||
wrapped: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue