diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-01-15 12:02:02 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-01-15 12:02:02 -0500 |
commit | c78c7b36cb004ee1f5a9a7d7b62d926e159a1395 (patch) | |
tree | 23c63442fe71dd16b67084bbaba7e5f640fe5809 /common/bootstrap.js | |
parent | 67e2a23c5a5f7dc7859175ac6e9edb878b66cea6 (diff) | |
download | pentadactyl-c78c7b36cb004ee1f5a9a7d7b62d926e159a1395.tar.gz |
Fix some bootstrap issues on upgrade.
Diffstat (limited to 'common/bootstrap.js')
-rwxr-xr-x | common/bootstrap.js | 8 |
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(); |