Merge pull request #6921 from Snuffleupagus/mandatory-deprecated
Always display `deprecated` messages, regardless of the verbosity setting
This commit is contained in:
commit
5d797e1a85
@ -246,9 +246,9 @@ function warn(msg) {
|
||||
}
|
||||
}
|
||||
|
||||
// Deprecated API function -- treated as warnings.
|
||||
// Deprecated API function -- display regardless of the PDFJS.verbosity setting.
|
||||
function deprecated(details) {
|
||||
warn('Deprecated API usage: ' + details);
|
||||
console.log('Deprecated API usage: ' + details);
|
||||
}
|
||||
|
||||
// Fatal errors that should trigger the fallback UI and halt execution by
|
||||
|
Loading…
x
Reference in New Issue
Block a user