ui.js
/**
     * Appends to this.main.submodules all the nested modules that main will need
     * @param {string} parent - Name of the module to load dependencies for
     */
Appends to this.main.submodules all the nested modules that main will need
@param {string} parent - Name of the module to load dependencies for
Appends to this . main . submodules all the nested modules that main will need @param { string } parent - Name of the module to load dependencies for
loadSubmodules(parent) {
        if (parent == null || parent == undefined) return;
        if (this.main.submodules.includes(parent)) return;
        this.main.submodules.push(parent);
        this.modules[parent].modules.forEach((n) => {
            if (n != parent) {
                this.loadSubmodules(n);
            }
        });
    }
loadSubmodules ( parent ) { if ( parent == null || parent == undefined ) return ; if ( this . main . submodules . includes ( parent ) ) return ; this . main . submodules . push ( parent ) ; this . modules [ parent ] . modules . forEach ( ( n ) => { if ( n != parent ) { this . loadSubmodules ( n ) ; } } ) ; }
Appends to this.main.submodules all the nested modules that main will need
 @param {string} parent - Name of the module to load dependencies for
Appends to this . main . submodules all the nested modules that main will need @param { string } parent - Name of the module to load dependencies for