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:
5
common/bootstrap.js
vendored
5
common/bootstrap.js
vendored
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user