Created
July 21, 2016 12:17
-
-
Save Komsomol/0d0a732fb5ef68d3822dee12f4690313 to your computer and use it in GitHub Desktop.
IE8/IE9 Console.log warning removal
This file contains hidden or 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
// console overwrite for IE8 | |
if (window.console === undefined) { | |
window.console = {}; | |
console.log = function() {}; | |
console.error = function() {}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment