diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-11-05 09:26:27 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-11-05 09:26:27 +0000 |
| commit | db83379662c2e2c240e2f121e19b943e4e4387c5 (patch) | |
| tree | 69338eddc66db1f535607b16dcf66a2ac82c14e5 /root/articles/mmmfs/gallery.moon | |
| parent | some cleanup (diff) | |
| download | mmm-db83379662c2e2c240e2f121e19b943e4e4387c5.tar.gz mmm-db83379662c2e2c240e2f121e19b943e4e4387c5.zip | |
rename "moon ->" to "fn ->"
Diffstat (limited to 'root/articles/mmmfs/gallery.moon')
| -rw-r--r-- | root/articles/mmmfs/gallery.moon | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/root/articles/mmmfs/gallery.moon b/root/articles/mmmfs/gallery.moon index 3abad43..4713101 100644 --- a/root/articles/mmmfs/gallery.moon +++ b/root/articles/mmmfs/gallery.moon @@ -6,12 +6,12 @@ Fileder = define_fileders ... with Fileder { 'name: alpha': 'gallery', 'title: text/plain': "A Gallery of 25 random pictures, come in!", - 'preview: moon -> mmm/dom': => div { + 'preview: fn -> mmm/dom': => div { 'the first pic as a little taste:', br!, img src: @children[1]\get 'preview', 'URL -> image/png' } - 'moon -> mmm/dom': => + 'fn -> mmm/dom': => link = (child) -> a { href: '#', onclick: -> BROWSER\navigate child.path @@ -22,7 +22,7 @@ with Fileder { table.insert content, 1, h1 'gallery index' div content - 'slideshow: moon -> mmm/dom': => + 'slideshow: fn -> mmm/dom': => import ReactiveVar, text, elements from require 'mmm.component' index = ReactiveVar 1 |
