mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
define console for IE9; updated to fix lint errors and comment
This commit is contained in:
parent
19622406da
commit
08f8aed521
1 changed files with 2 additions and 2 deletions
|
@ -225,9 +225,9 @@
|
|||
});
|
||||
})();
|
||||
|
||||
//IE9 console
|
||||
// Check console compatability
|
||||
(function checkConsoleCompatibility() {
|
||||
if (typeof console == "undefined") {
|
||||
if (typeof console == 'undefined') {
|
||||
console = {log: function() {}};
|
||||
}
|
||||
})();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue