aboutsummaryrefslogtreecommitdiffstats
path: root/app/index.moon
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2018-05-04 23:06:20 +0000
committers-ol <s-ol@users.noreply.github.com>2018-05-04 23:06:20 +0000
commita26bd7d17cb0782da0c57bb10f6f3ffa4a0f070f (patch)
tree441ced6e7734c618cd078cf63a818a1eb6567f58 /app/index.moon
parentadd component framework + todo (diff)
downloadmmm-a26bd7d17cb0782da0c57bb10f6f3ffa4a0f070f.tar.gz
mmm-a26bd7d17cb0782da0c57bb10f6f3ffa4a0f070f.zip
add test suite
Diffstat (limited to 'app/index.moon')
-rw-r--r--app/index.moon5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/index.moon b/app/index.moon
index e43b318..c05edcd 100644
--- a/app/index.moon
+++ b/app/index.moon
@@ -17,6 +17,9 @@ switch window.location.search
when '?todo' then
back_button!
require './todo.moon'
+ when '?test-component' then
+ back_button!
+ require './test_component.moon'
else
document.body\appendChild h1 'mmm'
document.body\appendChild p {
@@ -32,7 +35,7 @@ switch window.location.search
'.'
}
document.body\appendChild p 'current demos:'
- document.body\appendChild ul for name in *{'twisted', 'center-of-mass', 'todo'}
+ document.body\appendChild ul for name in *{'twisted', 'center-of-mass', 'todo', 'test-component'}
li a { name, href: "/?#{name}" }
document.body\appendChild p {