aboutsummaryrefslogtreecommitdiffstats
path: root/init.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-02-11 17:35:26 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-13 08:39:03 +0000
commit85df7feacac36f5cd058e86ff81b3f4aa9f0ded8 (patch)
treeadf72d8d77016eb8e9d211f256dbdc52d5f14350 /init.moon
parentadd edge and pilot/* (diff)
downloadalive-85df7feacac36f5cd058e86ff81b3f4aa9f0ded8.tar.gz
alive-85df7feacac36f5cd058e86ff81b3f4aa9f0ded8.zip
new Registry tagging mechanism
Diffstat (limited to 'init.moon')
-rw-r--r--init.moon7
1 files changed, 2 insertions, 5 deletions
diff --git a/init.moon b/init.moon
index 41acabe..d4f7e85 100644
--- a/init.moon
+++ b/init.moon
@@ -1,7 +1,6 @@
-- run from CLI
import monotime, sleep from require 'system'
import Logger from require 'logger'
-import Registry from require 'registry'
import Copilot from require 'copilot'
arguments, key = {}
@@ -33,11 +32,9 @@ delta = do
with time - (last or time)
last = time
-env = Registry!
-copilot = Copilot arguments[1], env
+copilot = Copilot arguments[1]
while true
dt = delta!
- copilot\poll!
- env\update dt
+ copilot\update dt