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:
parent
f1cd9e606d
commit
22e2e226cb
8 changed files with 29 additions and 33 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
include karax / prelude
|
||||
|
||||
var lines: seq[kstring] = @[]
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
include karax / prelude
|
||||
import random
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
include karax / prelude
|
||||
from sugar import `=>`
|
||||
import karax / errors
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
include login
|
||||
|
||||
const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue