reconcile new three modules, create a bundle

This commit is contained in:
Stewart Allen 2024-06-29 12:48:51 -04:00
commit 9adfe33cfb
19 changed files with 82 additions and 60 deletions

View file

@ -72,10 +72,13 @@ function exargs(args) {
// register module without a load function
gapp.register = function() {
// console.log(1, { mods });
const args = exargs([...arguments]);
const name = args.strings[0];
const fn = args.funcs[0];
const mod = { fn, name };
// console.log(2, { mods });
// console.log('reg', { mod, mods });
mods.push(mod);
};