1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 05:47:58 +01:00

Fix some accidentally committed code.

This commit is contained in:
Kris Maglione
2011-01-09 15:58:46 -05:00
parent f4ce38693f
commit 415386a183

View File

@@ -22,7 +22,6 @@ if (!JSMLoader || JSMLoader.bump != 1)
load: function load(url, target) {
let stale = this.stale[url];
if (stale) {
dump("dactyl: JSMLoader: stale: " + url + " " + stale + "\n");
delete this.stale[url];
let global = this.globals[url];
@@ -38,12 +37,13 @@ if (!JSMLoader || JSMLoader.bump != 1)
Components.utils.reportError(e);
}
if (stale === this.getTarget(url))
Components.classes["@mozilla.org/moz/jssubscript-loader;1"]
.getService(Components.interfaces.mozIJSSubScriptLoader)
.loadSubScript(url, global);
}
let global = Components.utils.import(moduleUrl, target);
let global = Components.utils.import(url, target);
return this.globals[url] = global;
},
cleanup: function unregister() {