🚀 some cleanup and stuff

This commit is contained in:
Kent C. Dodds 2016-03-31 19:24:13 -06:00
parent 8902ef4394
commit 938ba06efb
3 changed files with 41 additions and 1421 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
node_modules node_modules
coverage/ coverage/
bundle.js

1382
bundle.js

File diff suppressed because one or more lines are too long

View File

@ -1,42 +1,43 @@
<!doctype html> <!doctype html>
<html lang="en" data-framework="javascript"> <html lang="en" data-framework="javascript">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>VanillaJS • TodoMVC</title> <title>VanillaJS • TodoMVC</title>
<script src="bundle.js"></script> <script src="bundle.js"></script>
</head> </head>
<body> <body>
<section class="todoapp"> <section class="todoapp">
<header class="header"> <header class="header">
<h1>todos</h1> <h1>todos</h1>
<input class="new-todo" placeholder="What needs to be done?" autofocus> <input class="new-todo" placeholder="What needs to be done?" autofocus>
</header> </header>
<section class="main"> <section class="main">
<input class="toggle-all" type="checkbox"> <input class="toggle-all" type="checkbox">
<label for="toggle-all">Mark all as complete</label> <label for="toggle-all">Mark all as complete</label>
<ul class="todo-list"></ul> <ul class="todo-list"></ul>
</section> </section>
<footer class="footer"> <footer class="footer">
<span class="todo-count"></span> <span class="todo-count"></span>
<ul class="filters"> <ul class="filters">
<li> <li>
<a href="#/" class="selected">All</a> <a href="#/" class="selected">All</a>
</li> </li>
<li> <li>
<a href="#/active">Active</a> <a href="#/active">Active</a>
</li> </li>
<li> <li>
<a href="#/completed">Completed</a> <a href="#/completed">Completed</a>
</li> </li>
</ul> </ul>
<button class="clear-completed">Clear completed</button> <button class="clear-completed">Clear completed</button>
</footer> </footer>
</section> </section>
<footer class="info"> <footer class="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Created by <a href="http://twitter.com/oscargodson">Oscar Godson</a></p> <p>Created by <a href="http://twitter.com/oscargodson">Oscar Godson</a></p>
<p>Refactored by <a href="https://github.com/cburgmer">Christoph Burgmer</a></p> <p>Refactored by <a href="https://github.com/cburgmer">Christoph Burgmer</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Ported to ES6 by <a href="https://twitter.com/kentcdodds">Kent C. Dodds</a></p>
</footer> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</body> </footer>
</body>
</html> </html>