mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 09:45:42 +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
|
@ -1302,7 +1302,7 @@ function createPromiseCapability() {
|
|||
/**
|
||||
* Builds a promise that is resolved when all the passed in promises are
|
||||
* resolved.
|
||||
* @param {array} array of data and/or promises to wait for.
|
||||
* @param {array} promises array of data and/or promises to wait for.
|
||||
* @return {Promise} New dependant promise.
|
||||
*/
|
||||
Promise.all = function Promise_all(promises) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue