Browse Source

Polyfill console.dir.

Herbert Vojčík 8 years ago
parent
commit
eb686181c9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      support/browser-compatibility.js

+ 1 - 0
support/browser-compatibility.js

@@ -4,6 +4,7 @@
 /* Make sure that console is defined */
 if(typeof console === "undefined") {
     this.console = {
+        dir: function() {},
         log: function() {},
         warn: function() {},
         info: function() {},