Skip to content

Instantly share code, notes, and snippets.

@rileypaulsen
Last active December 19, 2015 22:08
Show Gist options
  • Save rileypaulsen/6024962 to your computer and use it in GitHub Desktop.
Save rileypaulsen/6024962 to your computer and use it in GitHub Desktop.
define a console function fallback for IE to avoid JavaScript errors
if (typeof(console) === 'undefined') {
console = {
log : function(data){},
table : function(data){}
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment