1
0
Fork 0
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:
Pimm Hogeling 2012-08-31 15:51:31 +02:00
parent 0fbbc5a840
commit 080ab94a0d
2 changed files with 4 additions and 2 deletions

View file

@ -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);