add other extras to windowman
This commit is contained in:
parent
5c3a568e2c
commit
d7bcbc0477
1 changed files with 11 additions and 6 deletions
|
@ -6,6 +6,7 @@ import Tabs from "/scripts/GUI/tabs.js";
|
||||||
import {global, observe} from "/scripts/secretariat.js";
|
import {global, observe} from "/scripts/secretariat.js";
|
||||||
import {URLs} from "/scripts/utils/URLs.js";
|
import {URLs} from "/scripts/utils/URLs.js";
|
||||||
import wait from "/scripts/utils/wait.js";
|
import wait from "/scripts/utils/wait.js";
|
||||||
|
import UI from "/scripts/GUI/builder/windowman.search.js";
|
||||||
|
|
||||||
export default class windowman {
|
export default class windowman {
|
||||||
elements = {};
|
elements = {};
|
||||||
|
@ -484,15 +485,19 @@ export default class windowman {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Enable the searching interface. */
|
/*
|
||||||
async function search() {
|
Instantiate the extras.
|
||||||
const search_GUI_manager = (await import(chrome.runtime.getURL(`scripts/GUI/builder/windowman.search.js`))).default;
|
*/
|
||||||
return (search_GUI_manager.Search());
|
const extras = () => {
|
||||||
};
|
// Add the search interface.
|
||||||
|
(Object.keys(UI)).forEach((FEATURE) => {
|
||||||
|
this[FEATURE] = new UI[FEATURE]();
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
fill();
|
fill();
|
||||||
write();
|
write();
|
||||||
this[`search`] = search();
|
extras();
|
||||||
|
|
||||||
// Update the input elements.
|
// Update the input elements.
|
||||||
observe((what) => {
|
observe((what) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue