Browse Source

Console shim out of boot.js. Fixes #1065

Herbert Vojčík 9 years ago
parent
commit
810fd964ee
1 changed files with 0 additions and 12 deletions
  1. 0 12
      support/boot.js

+ 0 - 12
support/boot.js

@@ -679,18 +679,6 @@ define("amber/boot", [ 'require', './browser-compatibility' ], function (require
 
 	function AugmentsBrik(brikz, st) {
 
-		/* Make sure that console is defined */
-
-		if(typeof console === "undefined") {
-			this.console = {
-				log: function() {},
-				warn: function() {},
-				info: function() {},
-				debug: function() {},
-				error: function() {}
-			};
-		}
-
 		/* Array extensions */
 
 		Array.prototype.addElement = function(el) {