From 4c600311df100ea3f3b84fc27c9b3ee4b1d261bd Mon Sep 17 00:00:00 2001 From: ragaskar Date: Thu, 29 Oct 2009 22:19:13 -0700 Subject: [PATCH] consolex update --- doc/files.html | 2 +- doc/index.html | 2 +- doc/symbols/_global_.html | 2 +- doc/symbols/jasmine.Block.html | 2 +- doc/symbols/jasmine.Env.html | 2 +- doc/symbols/jasmine.JsApiReporter.html | 2 +- doc/symbols/jasmine.Matchers.html | 2 +- doc/symbols/jasmine.MultiReporter.html | 2 +- doc/symbols/jasmine.NestedResults.html | 2 +- doc/symbols/jasmine.Reporter.html | 2 +- doc/symbols/jasmine.Runner.html | 2 +- doc/symbols/jasmine.Spec.html | 2 +- doc/symbols/jasmine.Spy.html | 2 +- doc/symbols/jasmine.Suite.html | 2 +- doc/symbols/jasmine.html | 2 +- doc/symbols/jasmine.util.html | 2 +- doc/symbols/src/lib_consolex.js.html | 48 ++++++++++++---------- doc/symbols/src/lib_jasmine-0.10.0.js.html | 2 +- lib/consolex.js | 20 +++++---- lib/jasmine-0.10.0.js | 2 +- 20 files changed, 58 insertions(+), 46 deletions(-) diff --git a/doc/files.html b/doc/files.html index 9507e4b..d734790 100644 --- a/doc/files.html +++ b/doc/files.html @@ -272,7 +272,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:30 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
\ No newline at end of file diff --git a/doc/index.html b/doc/index.html index 902a068..1ac07c8 100644 --- a/doc/index.html +++ b/doc/index.html @@ -308,7 +308,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:30 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
\ No newline at end of file diff --git a/doc/symbols/_global_.html b/doc/symbols/_global_.html index 1bd0166..b1c926b 100644 --- a/doc/symbols/_global_.html +++ b/doc/symbols/_global_.html @@ -910,7 +910,7 @@ A convenience method that allows existing specs to be disabled temporarily durin
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.Block.html b/doc/symbols/jasmine.Block.html index e363988..2779adc 100644 --- a/doc/symbols/jasmine.Block.html +++ b/doc/symbols/jasmine.Block.html @@ -341,7 +341,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.Env.html b/doc/symbols/jasmine.Env.html index 5af7b65..b411173 100644 --- a/doc/symbols/jasmine.Env.html +++ b/doc/symbols/jasmine.Env.html @@ -509,7 +509,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.JsApiReporter.html b/doc/symbols/jasmine.JsApiReporter.html index 8a28693..2266619 100644 --- a/doc/symbols/jasmine.JsApiReporter.html +++ b/doc/symbols/jasmine.JsApiReporter.html @@ -318,7 +318,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.Matchers.html b/doc/symbols/jasmine.Matchers.html index b7ba5e0..f2a3ed5 100644 --- a/doc/symbols/jasmine.Matchers.html +++ b/doc/symbols/jasmine.Matchers.html @@ -341,7 +341,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.MultiReporter.html b/doc/symbols/jasmine.MultiReporter.html index abe1c08..25f6ea3 100644 --- a/doc/symbols/jasmine.MultiReporter.html +++ b/doc/symbols/jasmine.MultiReporter.html @@ -318,7 +318,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.NestedResults.html b/doc/symbols/jasmine.NestedResults.html index 4b2881c..0d3b246 100644 --- a/doc/symbols/jasmine.NestedResults.html +++ b/doc/symbols/jasmine.NestedResults.html @@ -702,7 +702,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.Reporter.html b/doc/symbols/jasmine.Reporter.html index 4ed4824..14d0cea 100644 --- a/doc/symbols/jasmine.Reporter.html +++ b/doc/symbols/jasmine.Reporter.html @@ -318,7 +318,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.Runner.html b/doc/symbols/jasmine.Runner.html index 9a19c3d..e032ec0 100644 --- a/doc/symbols/jasmine.Runner.html +++ b/doc/symbols/jasmine.Runner.html @@ -329,7 +329,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:30 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.Spec.html b/doc/symbols/jasmine.Spec.html index 897b543..4d545e1 100644 --- a/doc/symbols/jasmine.Spec.html +++ b/doc/symbols/jasmine.Spec.html @@ -341,7 +341,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:30 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.Spy.html b/doc/symbols/jasmine.Spy.html index b13fb02..082bc07 100644 --- a/doc/symbols/jasmine.Spy.html +++ b/doc/symbols/jasmine.Spy.html @@ -847,7 +847,7 @@ expect(foo.bar.callCount).toEqual(0);
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:30 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.Suite.html b/doc/symbols/jasmine.Suite.html index 130c2e4..8d0ad07 100644 --- a/doc/symbols/jasmine.Suite.html +++ b/doc/symbols/jasmine.Suite.html @@ -347,7 +347,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:30 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.html b/doc/symbols/jasmine.html index 48e9e32..f778213 100644 --- a/doc/symbols/jasmine.html +++ b/doc/symbols/jasmine.html @@ -762,7 +762,7 @@ Jasmine environment.
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:29 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/jasmine.util.html b/doc/symbols/jasmine.util.html index 1c11d5b..0045b8b 100644 --- a/doc/symbols/jasmine.util.html +++ b/doc/symbols/jasmine.util.html @@ -318,7 +318,7 @@ ul.inheritsList
- Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 20:33:30 GMT-0700 (PDT) + Documentation generated by JsDoc Toolkit 2.1.0 on Thu Oct 29 2009 22:18:21 GMT-0700 (PDT)
diff --git a/doc/symbols/src/lib_consolex.js.html b/doc/symbols/src/lib_consolex.js.html index 33e9aa2..ebd3594 100644 --- a/doc/symbols/src/lib_consolex.js.html +++ b/doc/symbols/src/lib_consolex.js.html @@ -6,24 +6,30 @@ .REGX {color: #339;} .line {border-right: 1px dotted #666; color: #666; font-style: normal;}
  1 /** Console X
-  2   * http://github.com/deadlyicon/consolex.js
-  3   *
-  4   * prevents console errors and makes IE console objects true functions
-  5   *
-  6   */
-  7 (function() {
-  8   window.console || (window.console = {});
-  9 
- 10   var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
- 11   "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
- 12 
- 13   function emptyFunction(){}
- 14 
- 15   for (var i = 0; i < names.length; ++i){
- 16     window.console[names[i]] || (window.console[names[i]] = emptyFunction);
- 17     if (typeof window.console[names[i]] !== 'function')
- 18       window.console[names[i]] = (function(method) {
- 19           return function(){ return Function.prototype.apply.apply(method, [console,arguments]); };
- 20         })(window.console[names[i]]);
- 21   }
- 22 })();
\ No newline at end of file + 2 * http://github.com/deadlyicon/consolex.js + 3 * + 4 * By Jared Grippe <jared@jaredgrippe.com> + 5 * + 6 * Copyright (c) 2009 Jared Grippe + 7 * Licensed under the MIT license. + 8 * + 9 * consolex avoids ever having to see javascript bugs in browsers that do not implement the entire + 10 * firebug console suit + 11 * + 12 */ + 13 (function(window) { + 14 window.console || (window.console = {}); + 15 + 16 var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", + 17 "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; + 18 + 19 function emptyFunction(){} + 20 + 21 for (var i = 0; i < names.length; ++i){ + 22 window.console[names[i]] || (window.console[names[i]] = emptyFunction); + 23 if (typeof window.console[names[i]] !== 'function') + 24 window.console[names[i]] = (function(method) { + 25 return function(){ return Function.prototype.apply.apply(method, [console,arguments]); }; + 26 })(window.console[names[i]]); + 27 } + 28 })(this); \ No newline at end of file diff --git a/doc/symbols/src/lib_jasmine-0.10.0.js.html b/doc/symbols/src/lib_jasmine-0.10.0.js.html index 1c07567..049190e 100644 --- a/doc/symbols/src/lib_jasmine-0.10.0.js.html +++ b/doc/symbols/src/lib_jasmine-0.10.0.js.html @@ -543,7 +543,7 @@ 536 "major": 0, 537 "minor": 10, 538 "build": 0, -539 "revision": 1256873185 +539 "revision": 1256874141 540 }; 541 /** 542 * @namespace diff --git a/lib/consolex.js b/lib/consolex.js index be12df8..54cac92 100644 --- a/lib/consolex.js +++ b/lib/consolex.js @@ -1,10 +1,16 @@ /** Console X - * http://github.com/deadlyicon/consolex.js - * - * prevents console errors and makes IE console objects true functions - * - */ -(function() { +* 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", @@ -19,4 +25,4 @@ return function(){ return Function.prototype.apply.apply(method, [console,arguments]); }; })(window.console[names[i]]); } -})(); \ No newline at end of file +})(this); \ No newline at end of file diff --git a/lib/jasmine-0.10.0.js b/lib/jasmine-0.10.0.js index 9a625a5..a694663 100644 --- a/lib/jasmine-0.10.0.js +++ b/lib/jasmine-0.10.0.js @@ -536,7 +536,7 @@ jasmine.version_= { "major": 0, "minor": 10, "build": 0, - "revision": 1256873610 + "revision": 1256879901 }; /** * @namespace