From a26bd7d17cb0782da0c57bb10f6f3ffa4a0f070f Mon Sep 17 00:00:00 2001 From: s-ol Date: Sat, 5 May 2018 01:06:20 +0200 Subject: add test suite --- app/index.moon | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app/index.moon') 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 { -- cgit v1.2.3