add new webui module
This commit is contained in:
parent
556729fec4
commit
fa65c7c67f
3 changed files with 27 additions and 22 deletions
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
if (gapp.broker) return;
|
||||
|
||||
class Broker {
|
||||
gapp.register('moto.broker');
|
||||
|
||||
gapp.broker = new class Broker {
|
||||
constructor() {
|
||||
this.topics = {};
|
||||
this.used = {};
|
||||
|
|
@ -91,7 +93,4 @@ class Broker {
|
|||
}
|
||||
}
|
||||
|
||||
gapp.broker = new Broker();
|
||||
gapp.register('moto.broker');
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue