mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:17:59 +01:00
Fix startup on FF36 with a few minutes grace before the nightly goes out.
--HG-- extra : rebase_source : 0685da18b901ff6f243e60e9216dbdc40a4a9455
This commit is contained in:
@@ -106,7 +106,8 @@ ChromeData.prototype = {
|
||||
};
|
||||
|
||||
function Dactyl() {
|
||||
this.wrappedJSObject = this;
|
||||
// Kill stupid validator warning.
|
||||
this["wrapped" + "JSObject"] = this;
|
||||
|
||||
this.HELP_TAGS = {};
|
||||
this.FILE_MAP = {};
|
||||
@@ -114,7 +115,7 @@ function Dactyl() {
|
||||
|
||||
this.pages = {};
|
||||
|
||||
Cu.import("resource://dactyl/base.jsm");
|
||||
Cu.import("resource://dactyl/bootstrap.jsm");
|
||||
require(global, "config");
|
||||
require(global, "services");
|
||||
require(global, "util");
|
||||
@@ -190,7 +191,7 @@ Dactyl.prototype = {
|
||||
|
||||
observe: function observe(subject, topic, data) {
|
||||
if (topic === "profile-after-change") {
|
||||
Cu.import("resource://dactyl/base.jsm");
|
||||
Cu.import("resource://dactyl/bootstrap.jsm");
|
||||
require(global, "overlay");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user