소스 검색

Removed check for existence of 'console'.

tschw 10 년 전
부모
커밋
62df0a0372
1개의 변경된 파일1개의 추가작업 그리고 9개의 파일을 삭제
  1. 1 9
      editor/js/libs/app.js

+ 1 - 9
editor/js/libs/app.js

@@ -167,15 +167,7 @@ var APP = {
 
 				} catch (e) {
 
-					if ( window.console !== undefined && console.error !== undefined ) {
-
-						console.error(e.stack || e);
-
-					} else {
-
-						throw e;
-
-					}
+					console.error(e.stack || e);
 
 				}