Proxy global PDFJS.verbosity to properly configure shared/util.
This commit is contained in:
parent
a8e5912cb1
commit
2fa4dd6f40
4 changed files with 26 additions and 15 deletions
|
@ -27,6 +27,16 @@ function PDFJS() {
|
|||
// Mock class constructor. See src/display/api.js.
|
||||
}
|
||||
|
||||
/**
|
||||
* Controls the logging level.
|
||||
* The constants from PDFJS.VERBOSITY_LEVELS should be used:
|
||||
* - errors
|
||||
* - warnings [default]
|
||||
* - infos
|
||||
* @var {number}
|
||||
*/
|
||||
PDFJS.verbosity = PDFJS.VERBOSITY_LEVELS.warnings;
|
||||
|
||||
/**
|
||||
* Represents the eventual result of an asynchronous operation.
|
||||
* @external Promise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue