mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
Fixes some static analysis warnings and recommendations
* Useless conditional * Superfluous trailing arguments * Useless assignment to local variable * Misspelled identifier * JSDoc tag for non-existent parameter
This commit is contained in:
parent
d20002b6b1
commit
32ce369d88
9 changed files with 32 additions and 43 deletions
|
@ -135,7 +135,7 @@ var PDFOutlineViewer = (function PDFOutlineViewerClosure() {
|
|||
* Toggle the visibility of the subtree of an outline item.
|
||||
*
|
||||
* @param {Element} root - the root of the outline (sub)tree.
|
||||
* @param {boolean} state - whether to show the outline (sub)tree. If false,
|
||||
* @param {boolean} show - whether to show the outline (sub)tree. If false,
|
||||
* the outline subtree rooted at |root| will be collapsed.
|
||||
*
|
||||
* @private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue