default main/gapp as a dependency for all files forcing it to the top

This commit is contained in:
Stewart Allen 2021-12-29 16:31:17 -05:00
commit b5ad39ee08
7 changed files with 20 additions and 21 deletions

View file

@ -10,6 +10,10 @@ if (typeof(self) === 'undefined') {
(function () {
/** satisfy earcut, tween, etc **/
if (!self.module) self.module = { exports: {} };
/** debug and logging **/
let mark = Date.now();

View file

@ -99,10 +99,11 @@ document.onreadystatechange = function() {
// finalize modules
gapp.finalize("main.mesh", [
"moto.license", // dep: moto.license
"moto.webui", // dep: moto.webui
"moto.client", // dep: moto.client
"moto.broker", // dep: moto.broker
"moto.space" // dep: moto.space
"moto.space", // dep: moto.space
]);
})();