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

Tie up some, but not nearly all, of the loose ends that were accidentally committed in revision 185600dddcf7.

This commit is contained in:
Kris Maglione
2011-01-10 21:04:48 -05:00
parent fda5f5827b
commit 96350d49be
2 changed files with 6 additions and 4 deletions

5
common/bootstrap.js vendored
View File

@@ -148,7 +148,7 @@ function init() {
case "resource":
let str = "dactyl-";
if (fields[1].indexOf(str) == 0)
var prefix = fields[1].substr(str.length);
var suffix = fields[1].substr(str.length - 1);
resourceProto.setSubstitution(fields[1], getURI(fields[2]));
}
@@ -161,6 +161,9 @@ function init() {
JSMLoader.load("resource://dactyl/bootstrap.jsm", global);
}
if (suffix)
JSMLoader.suffix = suffix;
for each (let component in components)
component.register();