debug.js

来自「firebug调试工具代码分析,加入了一些类的修改补充」· JavaScript 代码 · 共 21 行

JS
21
字号
(function() {
    var doc = null;
    var wins = null;
//    if (!("console" in window) || !("firebug" in console)) {
        initDoc();
        initWins();
        DEBUG.showAtFirst = true;
        DEBUG.initialize(doc, wins);
//    }

    function initDoc() {
        doc = parent.frames["indexFrame"].document;
    }

    function initWins() {
        wins = [window];
        wins[wins.length] = parent.frames["jsFrame"];
        wins[wins.length] = parent.frames["indexFrame"];
        wins[wins.length] = parent;
    }
})();

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?