if (editor === '') { var checks = ['/System','/Applications','/Library', '/Network', '/Volumes']; var is_mac = true; var dir; for(var i=0; i<checks.length; i++) { dir = that.factoryFile(checks[i]); is_mac = is_mac && dir.exists() && dir.isDirectory(); } if (is_mac) { editor = '/usr/bin/open'; that.preferences._set('editor', editor); } 
if (editor === '' && that.isMac()) { editor = '/usr/bin/open'; that.preferences._set('editor', editor); 
    that.getEditor = function() {        var editor = that.preferences.editor;        if (editor === '') {            var checks = ['/System','/Applications','/Library', '/Network', '/Volumes'];            var is_mac = true;            var dir;            for(var i=0; i<checks.length; i++) {                dir = that.factoryFile(checks[i]);                is_mac = is_mac && dir.exists() && dir.isDirectory();            }            if (is_mac) {                editor = '/usr/bin/open';                 that.preferences._set('editor', editor);            }        }        if (editor === '') {            return null;        } else {            return that.factoryFile(editor);        }    };
4463	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4463/30c8c987685d0f42f3c893ae304d93a8ad253a67/itsalltext.js/buggy/chrome/content/itsalltext.js