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

Fix some bootstrap issues on upgrade.

This commit is contained in:
Kris Maglione
2011-01-15 12:02:02 -05:00
parent 67e2a23c5a
commit c78c7b36cb
4 changed files with 23 additions and 19 deletions

8
common/bootstrap.js vendored
View File

@@ -134,12 +134,12 @@ function init() {
}
}
if (typeof JSMLoader === "undefined")
dump("JSMLoader " + (typeof JSMLoader !== "undefined" && JSMLoader.bump) + "\n");
if (typeof JSMLoader === "undefined" || JSMLoader.bump != 2)
Cu.import("resource://dactyl/bootstrap.jsm", global);
if (suffix)
JSMLoader.suffix = suffix;
JSMLoader.load("resource://dactyl/bootstrap.jsm", global);
JSMLoader.init(suffix);
JSMLoader.load("base.jsm", global);
for each (let component in components)
component.register();