From 3da73bd51982a528be03f9cc6cdc5eeb587c718d Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Wed, 30 Jun 2010 23:49:34 -0700 Subject: [PATCH] Remove unused lib/consolex.js. --- lib/consolex.js | 28 ---------------------------- spec/runner.html | 1 - 2 files changed, 29 deletions(-) delete mode 100644 lib/consolex.js diff --git a/lib/consolex.js b/lib/consolex.js deleted file mode 100644 index 54cac92..0000000 --- a/lib/consolex.js +++ /dev/null @@ -1,28 +0,0 @@ -/** Console X -* http://github.com/deadlyicon/consolex.js -* -* By Jared Grippe -* -* Copyright (c) 2009 Jared Grippe -* Licensed under the MIT license. -* -* consolex avoids ever having to see javascript bugs in browsers that do not implement the entire -* firebug console suit -* -*/ -(function(window) { - window.console || (window.console = {}); - - var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", - "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; - - function emptyFunction(){} - - for (var i = 0; i < names.length; ++i){ - window.console[names[i]] || (window.console[names[i]] = emptyFunction); - if (typeof window.console[names[i]] !== 'function') - window.console[names[i]] = (function(method) { - return function(){ return Function.prototype.apply.apply(method, [console,arguments]); }; - })(window.console[names[i]]); - } -})(this); \ No newline at end of file diff --git a/spec/runner.html b/spec/runner.html index 3a49a66..7ce2e7f 100644 --- a/spec/runner.html +++ b/spec/runner.html @@ -29,7 +29,6 @@ -