aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mmmfs/init.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-11-01 10:17:55 +0000
committers-ol <s-ol@users.noreply.github.com>2018-11-01 10:17:55 +0000
commit30fb0dc40d595b9e0b7747ad8e5c4e8cf7e3023b (patch)
treedc56f20ec4d78115e15761c402589b5aec94ef55 /lib/mmmfs/init.moon
parentdefer all scripts (diff)
downloadmmm-30fb0dc40d595b9e0b7747ad8e5c4e8cf7e3023b.tar.gz
mmm-30fb0dc40d595b9e0b7747ad8e5c4e8cf7e3023b.zip
move mmm code from lib to mmm etc
Diffstat (limited to 'lib/mmmfs/init.moon')
-rw-r--r--lib/mmmfs/init.moon34
1 files changed, 0 insertions, 34 deletions
diff --git a/lib/mmmfs/init.moon b/lib/mmmfs/init.moon
deleted file mode 100644
index d0de45b..0000000
--- a/lib/mmmfs/init.moon
+++ /dev/null
@@ -1,34 +0,0 @@
-require = relative ...
-import Key, Fileder from require '.fileder'
-import Browser from require '.browser'
-import tohtml from require 'lib.component'
-
-define_fileders = (...) ->
- source_module = ...
-
- (...) ->
- with fileder = Fileder ...
- .source_module = source_module
-
-rehydrate = (path) ->
- import Browser from require 'lib.mmmfs.browser'
- root = require 'root'
- root\mount!
-
- export BROWSER
- BROWSER = Browser root, path, true
-
-render = (root, path) ->
- export BROWSER
- BROWSER = Browser root, path
-
- content = tohtml BROWSER
- content, on_client rehydrate, path
-
-{
- :Key
- :Fileder
- :render
- :define_fileders
- :module_roots
-}