Skip to content

Instantly share code, notes, and snippets.

@josephj
Created November 28, 2011 03:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephj/1399017 to your computer and use it in GitHub Desktop.
Save josephj/1399017 to your computer and use it in GitHub Desktop.
Remove unecessary JavaScript logs, for debugging purpose.
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