add new webui module

This commit is contained in:
Stewart Allen 2021-12-29 12:55:45 -05:00
commit fa65c7c67f
3 changed files with 27 additions and 22 deletions

View file

@ -2,24 +2,6 @@
"use strict";
// some ui helpers that need to go into a ui class
function $(id) {
return document.getElementById(id);
}
function $d(id, v) {
$(id).style.display = v;
}
function $h(id, h) {
$(id).innerHTML = h;
}
function estop(evt) {
evt.stopPropagation();
evt.preventDefault();
}
(function() {
let broker = gapp.broker;
@ -117,6 +99,7 @@ document.onreadystatechange = function() {
// finalize modules
gapp.finalize("main.mesh", [
"moto.webui", // dep: moto.webui
"moto.client", // dep: moto.client
"moto.broker", // dep: moto.broker
"moto.space" // dep: moto.space