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

Fix FF36.

This commit is contained in:
Kris Maglione
2011-01-17 22:06:03 -05:00
parent b1cd1c7dbf
commit 74d00cd222
2 changed files with 3 additions and 0 deletions

View File

@@ -116,6 +116,8 @@ function Dactyl() {
this.pages = {}; this.pages = {};
Cu.import("resource://dactyl/bootstrap.jsm"); Cu.import("resource://dactyl/bootstrap.jsm");
if (!JSMLoader.initialized)
JSMLoader.init();
JSMLoader.load("base.jsm", global); JSMLoader.load("base.jsm", global);
require(global, "config"); require(global, "config");
require(global, "services"); require(global, "services");

View File

@@ -28,6 +28,7 @@ if (!JSMLoader || JSMLoader.bump != 3)
storage: storage, storage: storage,
suffix: "", suffix: "",
init: function init(suffix) { init: function init(suffix) {
this.initialized = true;
this.suffix = suffix || ""; this.suffix = suffix || "";
this.storage.set("dactyl.JSMLoader", this); this.storage.set("dactyl.JSMLoader", this);