add gapp dependency, start annotating files accordingly
This commit is contained in:
parent
e0c2953a2a
commit
6eb7aa3897
22 changed files with 114 additions and 39 deletions
|
|
@ -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 = {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue