Refactor examples html, nim files. (#147)

* refactor: remove no need first new line

* arrange: add indent in HTML files

Co-authored-by: Takuya Yamamoto <takuya.yamamoto@tabian.co>
This commit is contained in:
tarunama 2020-07-02 17:36:20 +09:00 • committed by GitHub
commit 22e2e226cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 29 additions and 33 deletions

View file

@ -1,4 +1,3 @@
include karax / prelude include karax / prelude
var lines: seq[kstring] = @[] var lines: seq[kstring] = @[]

View file

@ -1,15 +1,15 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Carousel app</title> <title>Carousel app</title>
</head> </head>
<body id="body"> <body id="body">
<div id="ROOT" /> <div id="ROOT" />
<script type="text/javascript" src="carousel.js"></script> <script type="text/javascript" src="carousel.js"></script>
</body> </body>
</html> </html>

View file

@ -1,4 +1,3 @@
include karax / prelude include karax / prelude
import random import random

View file

@ -1,4 +1,3 @@
include karax / prelude include karax / prelude
from sugar import `=>` from sugar import `=>`
import karax / errors import karax / errors

View file

@ -1,15 +1,15 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Player app</title> <title>Player app</title>
</head> </head>
<body id="body"> <body id="body">
<div id="ROOT" /> <div id="ROOT" />
<script type="text/javascript" src="playerapp.js"></script> <script type="text/javascript" src="playerapp.js"></script>
</body> </body>
</html> </html>

View file

@ -1,15 +1,15 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Todo app</title> <title>Todo app</title>
</head> </head>
<body id="body"> <body id="body">
<div id="ROOT" /> <div id="ROOT" />
<script type="text/javascript" src="scrollapp.js"></script> <script type="text/javascript" src="scrollapp.js"></script>
</body> </body>
</html> </html>

View file

@ -1,16 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Todo app</title> <title>Todo app</title>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
</head> </head>
<body id="body"> <body id="body">
<div id="ROOT" /> <div id="ROOT" />
<script type="text/javascript" src="todoapp.js"></script> <script type="text/javascript" src="todoapp.js"></script>
</body> </body>
</html> </html>

View file

@ -1,4 +1,3 @@
include login include login
const const