aboutsummaryrefslogtreecommitdiffstats
path: root/root/articles
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 /root/articles
parentdefer all scripts (diff)
downloadmmm-30fb0dc40d595b9e0b7747ad8e5c4e8cf7e3023b.tar.gz
mmm-30fb0dc40d595b9e0b7747ad8e5c4e8cf7e3023b.zip
move mmm code from lib to mmm etc
Diffstat (limited to 'root/articles')
-rw-r--r--root/articles/init.moon4
-rw-r--r--root/articles/mmmfs/gallery.moon6
-rw-r--r--root/articles/mmmfs/init.moon8
-rw-r--r--root/articles/realities.moon4
4 files changed, 11 insertions, 11 deletions
diff --git a/root/articles/init.moon b/root/articles/init.moon
index b706f7c..483aa32 100644
--- a/root/articles/init.moon
+++ b/root/articles/init.moon
@@ -1,5 +1,5 @@
-import div, h3, ul, li, a from require 'lib.dom'
-import define_fileders from require 'lib.mmmfs'
+import div, h3, ul, li, a from require 'mmm.dom'
+import define_fileders from require 'mmm.mmmfs'
Fileder = define_fileders ...
require = relative ...
diff --git a/root/articles/mmmfs/gallery.moon b/root/articles/mmmfs/gallery.moon
index e132f42..3abad43 100644
--- a/root/articles/mmmfs/gallery.moon
+++ b/root/articles/mmmfs/gallery.moon
@@ -1,5 +1,5 @@
-import define_fileders from require 'lib.mmmfs'
-import div, h1, a, img, br from require 'lib.dom'
+import define_fileders from require 'mmm.mmmfs'
+import div, h1, a, img, br from require 'mmm.dom'
Fileder = define_fileders ...
@@ -23,7 +23,7 @@ with Fileder {
div content
'slideshow: moon -> mmm/dom': =>
- import ReactiveVar, text, elements from require 'lib.component'
+ import ReactiveVar, text, elements from require 'mmm.component'
index = ReactiveVar 1
diff --git a/root/articles/mmmfs/init.moon b/root/articles/mmmfs/init.moon
index 2b3ef5e..8b1ce01 100644
--- a/root/articles/mmmfs/init.moon
+++ b/root/articles/mmmfs/init.moon
@@ -1,4 +1,4 @@
-import define_fileders from require 'lib.mmmfs'
+import define_fileders from require 'mmm.mmmfs'
Fileder = define_fileders ...
require = relative ...
@@ -11,7 +11,7 @@ Fileder {
-- uses the 'moon ->' conversion to execute the lua/pre moon function on get
-- resolves to a value of type mmm/dom
'moon -> mmm/dom': () =>
- html = require 'lib.dom'
+ html = require 'mmm.dom'
import article, h1, h2, h3, p, div, a, sup, ol, li, span, code, pre, br from html
moon = if MODE == 'SERVER'
@@ -235,7 +235,7 @@ Fileder {
'title: text/plain': "Hey I'm like a link to picture or smth",
'URL -> image/png': 'https://picsum.photos/200?random',
'preview: moon -> mmm/dom': =>
- import img from require 'lib.dom'
+ import img from require 'mmm.dom'
img src: @gett 'URL -> image/png' -- look for main content with 'URL to png' type
}
]]
@@ -264,7 +264,7 @@ If you are reading this in the source, then c'mon, just scroll past and give me
-- preview is a lua/pre moon function that neturns an mmm/dom value
'preview: moon -> mmm/dom': =>
- import img from require 'lib.dom'
+ import img from require 'mmm.dom'
img src: @gett 'URL -> image/png' -- look for main content with 'URL to png' type
}
diff --git a/root/articles/realities.moon b/root/articles/realities.moon
index 05c0c03..78d7bae 100644
--- a/root/articles/realities.moon
+++ b/root/articles/realities.moon
@@ -1,11 +1,11 @@
-import define_fileders from require 'lib.mmmfs'
+import define_fileders from require 'mmm.mmmfs'
Fileder = define_fileders ...
Fileder {
'name: alpha': 'realities'
'description: text/plain': 'exploring the nesting relationships of virtual and other realities'
'moon -> mmm/component': =>
- import elements from require 'lib.component'
+ import elements from require 'mmm.component'
import h1, h2, p, a, i, div, ol, li, br, hr, span, button, section, article from elements
_content = div!