Skip to content

Instantly share code, notes, and snippets.

@croensch
Created June 21, 2012 09:05
Show Gist options
  • Save croensch/2964723 to your computer and use it in GitHub Desktop.
Save croensch/2964723 to your computer and use it in GitHub Desktop.
Firebug Console Dummy
/**
* Firebug Console
*/
(function (window) {
"use strict";
if (window.console) {
return;
}
function fn() {
}
window.console = {
log: fn,
debug: fn,
info: fn,
warn: fn,
error: fn,
assert: fn,
clear: fn,
dir: fn,
dirxml: fn,
trace: fn,
group: fn,
groupCollapsed: fn,
groupEnd: fn,
time: fn,
timeEnd: fn,
profile: fn,
profileEnd: fn,
count: fn,
exception: fn,
table: fn
};
}(this));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment