wip: stateful components

This commit is contained in:
Araq 2017-04-16 09:51:10 +02:00
commit 0255f58964
5 changed files with 99 additions and 130 deletions

View file

@ -3,7 +3,6 @@
<html>
<head>
<title>Todo app</title>
<link rel="stylesheet" href="style.css">
</head>
<body id="body">
@ -11,9 +10,6 @@
<div id="ROOT" />
<script type="text/javascript" src="nimcache/example.js"></script>
<script type="text/javascript">
onload(window.location.pathname.split('/')[1])
</script>
</body>
</html>