aboutsummaryrefslogtreecommitdiffstats
path: root/root/articles/mmmfs/examples/gallery
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-02-15 14:38:17 +0000
committers-ol <s-ol@users.noreply.github.com>2020-02-15 14:38:17 +0000
commit3abb5c0be1bba44702a77a32caf368775ab855c2 (patch)
tree5451aae8f5eb499094fd3b6f0338150798f8adf9 /root/articles/mmmfs/examples/gallery
parentfix conversion want wildcard (diff)
downloadmmm-3abb5c0be1bba44702a77a32caf368775ab855c2.tar.gz
mmm-3abb5c0be1bba44702a77a32caf368775ab855c2.zip
rename articles to research
Diffstat (limited to 'root/articles/mmmfs/examples/gallery')
-rw-r--r--root/articles/mmmfs/examples/gallery/$order2
-rw-r--r--root/articles/mmmfs/examples/gallery/actual_image/image$png.pngbin678429 -> 0 bytes
-rw-r--r--root/articles/mmmfs/examples/gallery/actual_image/preview: image$png.pngbin31880 -> 0 bytes
-rw-r--r--root/articles/mmmfs/examples/gallery/link_to_image/URL -> image$png1
-rw-r--r--root/articles/mmmfs/examples/gallery/link_to_image/preview: URL -> image$png1
-rw-r--r--root/articles/mmmfs/examples/gallery/slideshow: text$moonscript -> fn -> mmm$component.moon19
-rw-r--r--root/articles/mmmfs/examples/gallery/text$moonscript -> fn -> mmm$dom.moon12
-rw-r--r--root/articles/mmmfs/examples/gallery/title: text$plain1
8 files changed, 0 insertions, 36 deletions
diff --git a/root/articles/mmmfs/examples/gallery/$order b/root/articles/mmmfs/examples/gallery/$order
deleted file mode 100644
index 9d438bd..0000000
--- a/root/articles/mmmfs/examples/gallery/$order
+++ /dev/null
@@ -1,2 +0,0 @@
-link_to_image
-actual_image
diff --git a/root/articles/mmmfs/examples/gallery/actual_image/image$png.png b/root/articles/mmmfs/examples/gallery/actual_image/image$png.png
deleted file mode 100644
index b499413..0000000
--- a/root/articles/mmmfs/examples/gallery/actual_image/image$png.png
+++ /dev/null
Binary files differ
diff --git a/root/articles/mmmfs/examples/gallery/actual_image/preview: image$png.png b/root/articles/mmmfs/examples/gallery/actual_image/preview: image$png.png
deleted file mode 100644
index f9dbfad..0000000
--- a/root/articles/mmmfs/examples/gallery/actual_image/preview: image$png.png
+++ /dev/null
Binary files differ
diff --git a/root/articles/mmmfs/examples/gallery/link_to_image/URL -> image$png b/root/articles/mmmfs/examples/gallery/link_to_image/URL -> image$png
deleted file mode 100644
index 7cf76ff..0000000
--- a/root/articles/mmmfs/examples/gallery/link_to_image/URL -> image$png
+++ /dev/null
@@ -1 +0,0 @@
-https://picsum.photos/600/600/?image=101
diff --git a/root/articles/mmmfs/examples/gallery/link_to_image/preview: URL -> image$png b/root/articles/mmmfs/examples/gallery/link_to_image/preview: URL -> image$png
deleted file mode 100644
index 2b2233b..0000000
--- a/root/articles/mmmfs/examples/gallery/link_to_image/preview: URL -> image$png
+++ /dev/null
@@ -1 +0,0 @@
-https://picsum.photos/200/200/?image=101
diff --git a/root/articles/mmmfs/examples/gallery/slideshow: text$moonscript -> fn -> mmm$component.moon b/root/articles/mmmfs/examples/gallery/slideshow: text$moonscript -> fn -> mmm$component.moon
deleted file mode 100644
index 0178ac2..0000000
--- a/root/articles/mmmfs/examples/gallery/slideshow: text$moonscript -> fn -> mmm$component.moon
+++ /dev/null
@@ -1,19 +0,0 @@
-import ReactiveVar, text, elements from require 'mmm.component'
-import div, a, img from elements
-
-=>
- index = ReactiveVar 1
-
- prev = (i) -> math.max 1, i - 1
- next = (i) -> math.min #@children, i + 1
-
- div {
- div {
- a 'prev', href: '#', onclick: -> index\transform prev
- index\map (i) -> text " image ##{i} "
- a 'next', href: '#', onclick: -> index\transform next
- },
- index\map (i) ->
- child = assert @children[i], "image not found!"
- img src: @children[i]\gett 'URL -> image/png'
- }
diff --git a/root/articles/mmmfs/examples/gallery/text$moonscript -> fn -> mmm$dom.moon b/root/articles/mmmfs/examples/gallery/text$moonscript -> fn -> mmm$dom.moon
deleted file mode 100644
index 9bdac54..0000000
--- a/root/articles/mmmfs/examples/gallery/text$moonscript -> fn -> mmm$dom.moon
+++ /dev/null
@@ -1,12 +0,0 @@
-import div, h1, a, img, br from require 'mmm.dom'
-
-=>
- link = (child) -> a {
- href: '#',
- onclick: -> BROWSER\navigate child.path
- img src: child\gett 'preview', 'URL -> image/png'
- }
-
- content = [link child for child in *@children]
- table.insert content, 1, h1 'gallery index'
- div content
diff --git a/root/articles/mmmfs/examples/gallery/title: text$plain b/root/articles/mmmfs/examples/gallery/title: text$plain
deleted file mode 100644
index 2e9ef34..0000000
--- a/root/articles/mmmfs/examples/gallery/title: text$plain
+++ /dev/null
@@ -1 +0,0 @@
-a gallery of images