diff options
Diffstat (limited to 'root')
5 files changed, 6 insertions, 6 deletions
diff --git a/root/articles/text$moonscript -> fn -> mmm$dom.moon b/root/articles/text$moonscript -> fn -> mmm$dom.moon index 864b604..aec02d9 100644 --- a/root/articles/text$moonscript -> fn -> mmm$dom.moon +++ b/root/articles/text$moonscript -> fn -> mmm$dom.moon @@ -3,7 +3,7 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + h3 link_to @ ul for child in *@children desc = child\gett 'description: mmm/dom' li (link_to child), ': ', desc diff --git a/root/experiments/text$moonscript -> fn -> mmm$dom.moon b/root/experiments/text$moonscript -> fn -> mmm$dom.moon index 864b604..aec02d9 100644 --- a/root/experiments/text$moonscript -> fn -> mmm$dom.moon +++ b/root/experiments/text$moonscript -> fn -> mmm$dom.moon @@ -3,7 +3,7 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + h3 link_to @ ul for child in *@children desc = child\gett 'description: mmm/dom' li (link_to child), ': ', desc diff --git a/root/games/text$moonscript -> fn -> mmm$dom.moon b/root/games/text$moonscript -> fn -> mmm$dom.moon index 0139841..cb62e1c 100644 --- a/root/games/text$moonscript -> fn -> mmm$dom.moon +++ b/root/games/text$moonscript -> fn -> mmm$dom.moon @@ -3,7 +3,7 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + h3 link_to @ ul with for child in *@children link_if_content = (opts) -> a with opts diff --git a/root/meta/text$moonscript -> fn -> mmm$dom.moon b/root/meta/text$moonscript -> fn -> mmm$dom.moon index 9062ae3..d3e27e1 100644 --- a/root/meta/text$moonscript -> fn -> mmm$dom.moon +++ b/root/meta/text$moonscript -> fn -> mmm$dom.moon @@ -2,8 +2,8 @@ import div, h3, p, br, ul, li, i from require 'mmm.dom' import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - style: { 'max-width': '700px' }, - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + style: { 'max-width': '700px' } + h3 link_to @ p "mmm is a collection of Lua/Moonscript modules for web development. All modules are 'polymorphic' - they can run in the ", (i 'browser'), ", using the native browser API for creating and interacting with DOM content, as well as on the ", diff --git a/root/projects/text$moonscript -> fn -> mmm$dom.moon b/root/projects/text$moonscript -> fn -> mmm$dom.moon index 864b604..aec02d9 100644 --- a/root/projects/text$moonscript -> fn -> mmm$dom.moon +++ b/root/projects/text$moonscript -> fn -> mmm$dom.moon @@ -3,7 +3,7 @@ import link_to from (require 'mmm.mmmfs.util') require 'mmm.dom' => div { - link_to @, h3 @gett 'title: text/plain', style: { 'margin-bottom': '-.5em' }, + h3 link_to @ ul for child in *@children desc = child\gett 'description: mmm/dom' li (link_to child), ': ', desc |
