mirror of
https://github.com/kanidm/kanidm.git
synced 2025-04-16 15:25:39 +02:00
* doing some work for enumerating how the accounts work together * fixing up build scripts and removing extra things * making JavaScript as_tag use the struct field names * making shared.js a module, removing wasmloader.js * don't compress compressed things
15 lines
428 B
JavaScript
15 lines
428 B
JavaScript
// loads the module which loads the WASM. It's loaders all the way down.
|
|
import init, { run_app } from '/pkg/kanidmd_web_ui_login_flows.js';
|
|
async function main() {
|
|
await init('/pkg/kanidmd_web_ui_login_flows_bg.wasm');
|
|
run_app();
|
|
}
|
|
main()
|
|
|
|
// this is used in modals
|
|
export function modal_hide_by_id(m) {
|
|
var elem = document.getElementById(m);
|
|
var modal = bootstrap.Modal.getInstance(elem);
|
|
modal.hide();
|
|
};
|