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
var lines: seq[kstring] = @[]

View file

@ -1,15 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Carousel app</title>
</head>
<head>
<title>Carousel app</title>
</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>

View file

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

View file

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

View file

@ -1,15 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Player app</title>
</head>
<head>
<title>Player app</title>
</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>

View file

@ -1,15 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Todo app</title>
</head>
<head>
<title>Todo app</title>
</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>

View file

@ -1,16 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>Todo app</title>
<link rel="stylesheet" href="style.css">
</head>
<head>
<title>Todo app</title>
<link rel="stylesheet" href="style.css">
</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>

View file

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