-
-
Save harikt/2d6ba6963b3755359751 to your computer and use it in GitHub Desktop.
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
// Lifted from https://stackoverflow.com/a/22103222 | |
if (typeof console === "undefined" || typeof console.log === "undefined") { | |
console.log = function(msg) { | |
alert(msg); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment