mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 01:58:06 +02:00
Lint syntax fixes.
This commit is contained in:
parent
0fbbc5a840
commit
080ab94a0d
2 changed files with 4 additions and 2 deletions
|
@ -13,7 +13,8 @@ function MessageHandler(name, comObj) {
|
|||
ah['console_log'] = [function ahConsoleLog(data) {
|
||||
log.apply(null, data);
|
||||
}];
|
||||
// If there's no console available, console_error in the action handler will do nothing.
|
||||
// If there's no console available, console_error in the
|
||||
// action handler will do nothing.
|
||||
if ('console' in globalScope) {
|
||||
ah['console_error'] = [function ahConsoleError(data) {
|
||||
globalScope['console'].error.apply(null, data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue