Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
nmaier committed Apr 8, 2016
1 parent da1eff5 commit a05c67a
Show file tree
Hide file tree
Showing 57 changed files with 2,760 additions and 2,505 deletions.
597 changes: 312 additions & 285 deletions components/services.js

Large diffs are not rendered by default.

1,780 changes: 920 additions & 860 deletions content/manager.js

Large diffs are not rendered by default.

43 changes: 23 additions & 20 deletions content/prefStub.js
Expand Up @@ -4,31 +4,34 @@

"use strict";

/* globals openURL */

function open_dta() {
try {
// contentAreaUtils
openURL(document.getElementById('url').value);
}
catch (ex) {
window.open(document.getElementById('url').value);
}
try {
// contentAreaUtils
openURL(document.getElementById('url').value);
}
catch (ex) {
window.open(document.getElementById('url').value);
}

close();
close();
}

try {
try {
let _m = Components.utils.import("chrome://dta-modules/content/glue.jsm", {}).require("support/mediator");
_m.showPreferences(window.opener, 'acPane');
}
catch (ex) {
let _m = {};
Components.utils.import("resource://dta/support/mediator.jsm", _m);
_m.showPreferences(window.opener, 'acPane');
}
try {
let _m = Components.utils.import(
"chrome://dta-modules/content/glue.jsm", {}).require("support/mediator");
_m.showPreferences(window.opener, 'acPane');
}
catch (ex) {
let _m = {};
Components.utils.import("resource://dta/support/mediator.jsm", _m);
_m.showPreferences(window.opener, 'acPane');
}

close();
close();
}
catch (ex) {
document.getElementById('mainbox').hidden = false;
}
document.getElementById('mainbox').hidden = false;
}

0 comments on commit a05c67a

Please sign in to comment.