Ver Fonte

Polyfill console.dir.

Herbert Vojčík há 8 anos atrás
pai
commit
eb686181c9
1 ficheiros alterados com 1 adições e 0 exclusões
  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() {},