Skip to content

Instantly share code, notes, and snippets.

@gerad
Created February 29, 2012 18:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gerad/1943520 to your computer and use it in GitHub Desktop.
Save gerad/1943520 to your computer and use it in GitHub Desktop.
stub out the javascript console for IE
!function(w) {
debugger
if (!w.console) {
var c = w.console = {};
c.log = c.error = c.info = c.debug = c.warn = c.trace = c.dir = c.dirxml = c.group = c.groupEnd = c.time = c.timeEnd = c.assert = c.profile = c.profileEnd = function() {};
}
}(window);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment