mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 23:57:59 +01:00
Fix FF36.
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user