PageRenderTime 81ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 38ms app.codeStats 0ms

/timeplot/lib/firebug/firebugx.js

http://showslow.googlecode.com/
JavaScript | 10 lines | 8 code | 2 blank | 0 comment | 3 complexity | 5a7d11ab3059e411319aab1e729df97c MD5 | raw file
 1
 2if (!("console" in window) || !("firebug" in console))
 3{
 4    var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
 5    "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
 6
 7    window.console = {};
 8    for (var i = 0; i < names.length; ++i)
 9        window.console[names[i]] = function() {}
10}