encapsulate kiri client
This commit is contained in:
parent
f8c8f73349
commit
ffd2f440ba
4 changed files with 9 additions and 5 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
(function() {
|
||||
|
||||
// this code runs in kiri's main loop
|
||||
let KIRI = self.kiri = self.kiri || {},
|
||||
loc = self.location,
|
||||
|
|
@ -224,3 +226,5 @@ KIRI.work = {
|
|||
|
||||
// start worker
|
||||
KIRI.work.restart();
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Reference in a new issue