Sha256: cfd2dac3b86e58f170f29576481187604fb69ff506b2877d35deed6adabf3521

Contents?: true

Size: 350 Bytes

Versions: 24

Compression:

Stored size: 350 Bytes

Contents

if (!("console" in window) || !("firebug" in console))
{
    var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
    "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];

    window.console = {};
    for (var i = 0; i < names.length; ++i)
        window.console[names[i]] = function() {}
}

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
envjs19-0.3.8.20101029121421 test/firebug/firebugx.js
envjs-0.3.8 test/firebug/firebugx.js
envjs-0.3.7 test/firebug/firebugx.js
envjs-0.3.6 test/firebug/firebugx.js
envjs-0.3.5 test/firebug/firebugx.js
envjs-0.3.4 test/firebug/firebugx.js
envjs-0.3.3 test/firebug/firebugx.js
envjs-0.3.2 test/firebug/firebugx.js
envjs-0.3.1 test/firebug/firebugx.js
envjs-0.3.0 test/firebug/firebugx.js
envjs-0.2.0 test/firebug/firebugx.js
envjs-0.1.7 test/firebug/firebugx.js
envjs-0.1.6 test/firebug/firebugx.js
envjs-0.1.5 test/firebug/firebugx.js
envjs-0.1.4 test/firebug/firebugx.js
envjs-0.1.3 test/firebug/firebugx.js
harmony-0.5.1 vendor/envjs/test/firebug/firebugx.js
harmony-0.5 vendor/envjs/test/firebug/firebugx.js
envjs-0.1.2 test/firebug/firebugx.js
envjs-0.1.1 test/firebug/firebugx.js