~ubuntu-branches/ubuntu/karmic/firebug/karmic

« back to all changes in this revision

Viewing changes to lite/firebugx.js

  • Committer: Bazaar Package Importer
  • Author(s): Jared Greenwald
  • Date: 2008-02-21 17:34:24 UTC
  • Revision ID: james.westby@ubuntu.com-20080221173424-illircvfpyvnp4uo
Tags: upstream-1.1.0~b11+svn317
ImportĀ upstreamĀ versionĀ 1.1.0~b11+svn317

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
if (!window.console || !console.firebug)
 
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
}
 
 
b'\\ No newline at end of file'