more name binding cleanup

This commit is contained in:
Stewart Allen 2021-12-29 07:54:16 -05:00
commit 61ad82be61
2 changed files with 5 additions and 5 deletions

View file

@ -69,7 +69,7 @@ function init() {
}
// add space event bindings
broker.subscribe('space.init', data => {
broker.subscribe('space_init', data => {
let { space, platform } = data;
let platcolor = 0x00ff00;
// add file drop handler
@ -101,7 +101,7 @@ broker.subscribe('space.init', data => {
});
// add object loader
broker.subscribe('space.load', data => {
broker.subscribe('space_load', data => {
console.log({space_load: data});
});
@ -117,8 +117,8 @@ document.onreadystatechange = function() {
// finalize modules
gapp.finalize("main.mesh", [
"moto.broker",
"moto.space"
"moto.broker", // dep: moto.broker
"moto.space" // dep: moto.space
]);
})();