add gapp dependency, start annotating files accordingly

This commit is contained in:
Stewart Allen 2021-12-29 00:19:22 -05:00
commit 6eb7aa3897
22 changed files with 114 additions and 39 deletions

View file

@ -4,8 +4,7 @@
(function() {
let gapp = self.gapp = self.gapp || {},
moto = self.moto = self.moto || gapp,
let moto = self.moto = self.moto || {},
ccvalue = self.navigator ? navigator.hardwareConcurrency || 1 : 1,
ccmax = ccvalue > 3 ? ccvalue - 1 : 0,
workcc = false, // concurrent or not
@ -16,6 +15,8 @@ let gapp = self.gapp = self.gapp || {},
if (moto.client) return;
gapp.register('moto.client');
// code is running in the browser / client context
let client = moto.client = {