Skip to content

Instantly share code, notes, and snippets.

@kangax
Created December 20, 2008 17:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kangax/38358 to your computer and use it in GitHub Desktop.
Save kangax/38358 to your computer and use it in GitHub Desktop.
(function(__global){
if (!__global.console || (__global.console && !__global.console.log)) {
__global.console = {
log: (__global.opera && __global.opera.postError)
? __global.opera.postError
: function(){ }
}
}
})(this);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment