Skip to content

Instantly share code, notes, and snippets.

@pjhoberman
Created January 6, 2011 18:37
Show Gist options
  • Save pjhoberman/768316 to your computer and use it in GitHub Desktop.
Save pjhoberman/768316 to your computer and use it in GitHub Desktop.
// wrapper to prevent ie erroring out on leftover console.logs
function log(log)
{
if( typeof console !== "undefined" )
console.log( log );
} // log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment