mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 02:52:31 +02:00
Thing.
This commit is contained in:
1 parent
8d6ea20cc4
commit
5ba16bda44
2 files changed
+7
-4
No files matched your search
Vendored
+4
-3
@@ -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