Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Commit

Permalink
Fixed consol.log problem in Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Craga89 committed Jun 14, 2011
1 parent 4c44169 commit 5184d08
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 13 deletions.
8 changes: 5 additions & 3 deletions dist/jquery.qtip.basic.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Tue Jun 7 23:53:32 2011 +0100
* Date: Wed Jun 8 00:02:52 2011 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down Expand Up @@ -41,8 +41,10 @@
oldtitle = 'oldtitle',
trackingBound = FALSE;

function log(msg) {
if(console) { (console.info || console.log || $.noop).apply(this, arguments); }
function log() {
if(console) {
return (console.info || console.info || $.noop).apply(console, arguments);
}
}

// Option object sanitizer
Expand Down
2 changes: 1 addition & 1 deletion dist/jquery.qtip.css
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Tue Jun 7 23:53:32 2011 +0100
* Date: Wed Jun 8 00:02:52 2011 +0100
*/

/* Core qTip styles */
Expand Down
8 changes: 5 additions & 3 deletions dist/jquery.qtip.js
Expand Up @@ -9,7 +9,7 @@
* http://en.wikipedia.org/wiki/MIT_License
* http://en.wikipedia.org/wiki/GNU_General_Public_License
*
* Date: Tue Jun 7 23:53:32 2011 +0100
* Date: Wed Jun 8 00:02:52 2011 +0100
*/

/*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true */
Expand Down Expand Up @@ -41,8 +41,10 @@
oldtitle = 'oldtitle',
trackingBound = FALSE;

function log(msg) {
if(console) { (console.info || console.log || $.noop).apply(this, arguments); }
function log() {
if(console) {
return (console.info || console.info || $.noop).apply(console, arguments);
}
}

// Option object sanitizer
Expand Down
4 changes: 2 additions & 2 deletions dist/jquery.qtip.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/jquery.qtip.pack.js

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/intro.js
Expand Up @@ -27,7 +27,9 @@
oldtitle = 'oldtitle',
trackingBound = FALSE;

function log(msg) {
if(console) { (console.info || console.log || $.noop).apply(this, arguments); }
function log() {
if(console) {
return (console.info || console.info || $.noop).apply(console, arguments);
}
}

0 comments on commit 5184d08

Please sign in to comment.