mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 14:15:49 +01:00
Merge default.
--HG-- branch : key-processing
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
try {
|
||||
|
||||
let global = this;
|
||||
Components.utils.import("resource://dactyl/bootstrap.jsm");
|
||||
defineModule("config", {
|
||||
exports: ["ConfigBase", "Config", "config"],
|
||||
@@ -54,7 +55,7 @@ var ConfigBase = Class("ConfigBase", {
|
||||
addon: Class.memoize(function () {
|
||||
let addon = services.fuel.storage.get("dactyl.bootstrap", {}).addon;
|
||||
if (!addon)
|
||||
addon = AddonManager.getAddonByID(this.addonID);
|
||||
addon = require("addons").AddonManager.getAddonByID(this.addonID);
|
||||
return addon;
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user