]> git.parisson.com Git - pdf.js.git/commitdiff
define console for IE9; updated to fix lint errors and comment
authorJeff Wagner <jwagner@gmail.com>
Tue, 24 Jan 2012 22:19:41 +0000 (14:19 -0800)
committerJeff Wagner <jwagner@gmail.com>
Tue, 24 Jan 2012 22:19:41 +0000 (14:19 -0800)
web/compatibility.js

index 7addbe3e2209117058e6a1323469c758e880ed24..b22153516e425ada7db3d3712a1e4da9425f8df4 100644 (file)
   });
 })();
 
-//IE9 console
+// Check console compatability
 (function checkConsoleCompatibility() {
-  if (typeof console == "undefined") {
+  if (typeof console == 'undefined') {
     console = {log: function() {}};
   }
 })();