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

[bootstrap] Add a :rehash (temporarily undocumented) command.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-25 09:46:07 -05:00
parent a759ab3606
commit 8da718d47b
5 changed files with 23 additions and 3 deletions

2
common/bootstrap.js vendored
View File

@@ -41,6 +41,7 @@ let addon = null;
let basePath = null;
let components = {};
let getURI = null;
storage.set("dactyl.bootstrap", this);
var JSMLoader = storage.get("dactyl.JSMLoader", { get load() Cu.import });
function startup(data, reason) {
@@ -53,6 +54,7 @@ function startup(data, reason) {
dump("dactyl: bootstrap: init" + " " + data.id + "\n");
addon = data;
AddonManager.getAddonByID(addon.id, function (a) { addon = a });
if (basePath.isDirectory())
getURI = function getURI(path) {