Created
November 28, 2011 03:51
-
-
Save josephj/1399017 to your computer and use it in GitHub Desktop.
Remove unecessary JavaScript logs, for debugging purpose.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YUI_config = { | |
logInclude : { | |
"ID3": true | |
} | |
}; | |
if (typeof console !== "undefined") { | |
console.log = function (m, t, s) { | |
s = s || null; | |
if (!s) { | |
return false; | |
} | |
console.log(m, t, s) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment