Created
July 4, 2012 11:12
-
-
Save rutger1140/3046805 to your computer and use it in GitHub Desktop.
Prevent console.log errors in IE
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
// Prevent console.log errors | |
if (typeof console=="undefined") { | |
console={log:function(A){return;}} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment