summaryrefslogtreecommitdiff
path: root/common/bootstrap.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-01-15 12:02:02 -0500
committerKris Maglione <maglione.k@gmail.com>2011-01-15 12:02:02 -0500
commitc78c7b36cb004ee1f5a9a7d7b62d926e159a1395 (patch)
tree23c63442fe71dd16b67084bbaba7e5f640fe5809 /common/bootstrap.js
parent67e2a23c5a5f7dc7859175ac6e9edb878b66cea6 (diff)
downloadpentadactyl-c78c7b36cb004ee1f5a9a7d7b62d926e159a1395.tar.gz
Fix some bootstrap issues on upgrade.
Diffstat (limited to 'common/bootstrap.js')
-rwxr-xr-xcommon/bootstrap.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/bootstrap.js b/common/bootstrap.js
index 027552f8..dc5609bd 100755
--- a/common/bootstrap.js
+++ b/common/bootstrap.js
@@ -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();