mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 13:22:25 +01:00
Thing.
This commit is contained in:
7
common/bootstrap.js
vendored
7
common/bootstrap.js
vendored
@@ -221,10 +221,11 @@ function init() {
|
||||
if (!manifest.categories)
|
||||
manifest.categories = [];
|
||||
|
||||
for (let [classID, { contract, path, category }] of Iterator(manifest.components || {})) {
|
||||
for (let [classID, { contract, path, categories }] of Iterator(manifest.components || {})) {
|
||||
components[classID] = new FactoryProxy(getURI(path).spec, classID, contract);
|
||||
if (category)
|
||||
manifest.categories.push([category[0], category[1], contract]);
|
||||
if (categories)
|
||||
for (let [category, id] in Iterator(categories))
|
||||
manifest.categories.push([category, id, contract]);
|
||||
}
|
||||
|
||||
for (let [category, id, value] of manifest.categories) {
|
||||
|
||||
Reference in New Issue
Block a user