mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 06:15:45 +01:00
Move config module to config.jsm.
--HG-- rename : common/content/configbase.js => common/modules/config.jsm
This commit is contained in:
@@ -163,7 +163,7 @@ defineModule.dump = function dump_() {
|
||||
msg = util.objectToString(msg);
|
||||
return msg;
|
||||
}).join(", ");
|
||||
let name = loaded.services && loaded.prefs && services["dactyl:"] ? services["dactyl:"].name : "dactyl";
|
||||
let name = loaded.services && loaded.config ? config.name.name : "dactyl";
|
||||
dump(String.replace(msg, /\n?$/, "\n")
|
||||
.replace(/^./gm, name + ": $&"));
|
||||
}
|
||||
@@ -221,7 +221,7 @@ defineModule("base", {
|
||||
"keys", "memoize", "octal", "properties", "require", "set", "update",
|
||||
"values", "withCallerGlobal"
|
||||
],
|
||||
use: ["services", "util"]
|
||||
use: ["config", "services", "util"]
|
||||
});
|
||||
|
||||
function Runnable(self, func, args) {
|
||||
|
||||
Reference in New Issue
Block a user