Created
February 4, 2014 14:50
-
-
Save omniosi/8804962 to your computer and use it in GitHub Desktop.
a function to call a console log to avoid console issues in IE
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
//custom console.log | |
function log(msg){ | |
try{ | |
console.log(msg); | |
} | |
catch(e){ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment