瀏覽代碼

Console shim out of boot.js. Fixes #1065

Herbert Vojčík 9 年之前
父節點
當前提交
810fd964ee
共有 1 個文件被更改,包括 0 次插入12 次删除
  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) {