Commit 5e8f0a49 authored by Sindre Sorhus's avatar Sindre Sorhus

Add empty base.js. Will be used later to add common code to all apps.

parent 2bbda873
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
<h1>todos</h1> <h1>todos</h1>
<input id="new-todo" placeholder="What needs to be done?" autofocus> <input id="new-todo" placeholder="What needs to be done?" autofocus>
</header> </header>
<!-- this section should be hidden by default and shown when there are todos --> <!-- This section should be hidden by default and shown when there are todos -->
<section id="main"> <section id="main">
<input id="toggle-all" type="checkbox"> <input id="toggle-all" type="checkbox">
<label for="toggle-all">Mark all as complete</label> <label for="toggle-all">Mark all as complete</label>
<ul id="todo-list"> <ul id="todo-list">
<!-- these are here just to show the structure of the list items --> <!-- These are here just to show the structure of the list items -->
<!-- list items should get the class `editing` when editing and `completed` when marked as completed --> <!-- List items should get the class `editing` when editing and `completed` when marked as completed -->
<li class="completed"> <li class="completed">
<div class="view"> <div class="view">
<input class="toggle" type="checkbox" checked> <input class="toggle" type="checkbox" checked>
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
</li> </li>
</ul> </ul>
</section> </section>
<!-- this footer should hidden by default and shown when there are todos --> <!-- This footer should hidden by default and shown when there are todos -->
<footer id="footer"> <footer id="footer">
<!-- this should be `0 items left` by default --> <!-- This should be `0 items left` by default -->
<span id="todo-count"><strong>1</strong> item left</span> <span id="todo-count"><strong>1</strong> item left</span>
<!-- remove this if you don't implement routing --> <!-- Remove this if you don't implement routing -->
<ul id="filters"> <ul id="filters">
<li> <li>
<a class="selected" href="#/">All</a> <a class="selected" href="#/">All</a>
...@@ -61,11 +61,12 @@ ...@@ -61,11 +61,12 @@
<footer id="info"> <footer id="info">
<p>Double-click to edit a todo</p> <p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p> <p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p>
<!-- change this out with your name and url ↓ --> <!-- Change this out with your name and url ↓ -->
<p>Created by <a href="http://addyosmani.github.com/todomvc/">you</a></p> <p>Created by <a href="http://addyosmani.github.com/todomvc/">you</a></p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p> <p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer> </footer>
<!-- scripts here --> <!-- Scripts here. Don't remove this ↓ -->
<script src="../assets/base.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
</body> </body>
</html> </html>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment