Browse Source

Removed check for existence of 'console'.

tschw 10 years ago
parent
commit
62df0a0372
1 changed files with 1 additions and 9 deletions
  1. 1 9
      editor/js/libs/app.js

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

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