소스 검색

Polyfill console.dir.

Herbert Vojčík 8 년 전
부모
커밋
eb686181c9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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() {},