From 22e2e226cb82ca4c8495d10a41545a1df0bbb3d9 Mon Sep 17 00:00:00 2001 From: tarunama Date: Thu, 2 Jul 2020 17:36:20 +0900 Subject: [PATCH] Refactor examples html, nim files. (#147) * refactor: remove no need first new line * arrange: add indent in HTML files Co-authored-by: Takuya Yamamoto --- examples/button.nim | 1 - examples/carousel/carousel.html | 14 +++++++------- examples/hellouniverse.nim | 1 - examples/login.nim | 1 - examples/mediaplayer/playerapp.html | 14 +++++++------- examples/scrollapp/scrollapp.html | 14 +++++++------- examples/todoapp/todoapp.html | 16 ++++++++-------- examples/toychat.nim | 1 - 8 files changed, 29 insertions(+), 33 deletions(-) diff --git a/examples/button.nim b/examples/button.nim index bd49dc3..d86fa82 100644 --- a/examples/button.nim +++ b/examples/button.nim @@ -1,4 +1,3 @@ - include karax / prelude var lines: seq[kstring] = @[] diff --git a/examples/carousel/carousel.html b/examples/carousel/carousel.html index 464f960..500e73a 100644 --- a/examples/carousel/carousel.html +++ b/examples/carousel/carousel.html @@ -1,15 +1,15 @@ - - Carousel app - + + Carousel app + - + -
+
- + - + diff --git a/examples/hellouniverse.nim b/examples/hellouniverse.nim index c07435b..8343d07 100644 --- a/examples/hellouniverse.nim +++ b/examples/hellouniverse.nim @@ -1,4 +1,3 @@ - include karax / prelude import random diff --git a/examples/login.nim b/examples/login.nim index 642f573..f7b9062 100644 --- a/examples/login.nim +++ b/examples/login.nim @@ -1,4 +1,3 @@ - include karax / prelude from sugar import `=>` import karax / errors diff --git a/examples/mediaplayer/playerapp.html b/examples/mediaplayer/playerapp.html index 7800d32..a45a2e8 100644 --- a/examples/mediaplayer/playerapp.html +++ b/examples/mediaplayer/playerapp.html @@ -1,15 +1,15 @@ - - Player app - + + Player app + - + -
+
- + - + diff --git a/examples/scrollapp/scrollapp.html b/examples/scrollapp/scrollapp.html index f7ca085..44d657e 100644 --- a/examples/scrollapp/scrollapp.html +++ b/examples/scrollapp/scrollapp.html @@ -1,15 +1,15 @@ - - Todo app - + + Todo app + - + -
+
- + - + diff --git a/examples/todoapp/todoapp.html b/examples/todoapp/todoapp.html index bec9d65..ab3daa7 100644 --- a/examples/todoapp/todoapp.html +++ b/examples/todoapp/todoapp.html @@ -1,16 +1,16 @@ - - Todo app - - + + Todo app + + - + -
+
- + - + diff --git a/examples/toychat.nim b/examples/toychat.nim index 66c4cd0..600998c 100644 --- a/examples/toychat.nim +++ b/examples/toychat.nim @@ -1,4 +1,3 @@ - include login const