1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:47:58 +01:00

Move config module to config.jsm.

--HG--
rename : common/content/configbase.js => common/modules/config.jsm
This commit is contained in:
Kris Maglione
2010-12-29 14:49:20 -05:00
parent b8b931b901
commit 7a0c7dacbe
13 changed files with 241 additions and 219 deletions

View File

@@ -101,14 +101,7 @@ function Dactyl() {
this.pages = {};
Cu.import("resource://dactyl/base.jsm");
require(global, "prefs");
require(global, "util");
["appName", "fileExt", "host", "hostbin", "idName", "name", "version"].forEach(function (pref)
this.__defineGetter__(pref, function () prefs.get("extensions.dactyl." + pref, "dactyl")),
this);
memoize(this, "addonID", function () this.name + "@dactyl.googlecode.com");
}
Dactyl.prototype = {
contractID: "@mozilla.org/network/protocol;1?name=dactyl",