Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@
<script src="lib/todo-app.js"></script>
<script>
var model = {
todos: [
// { id: 0, title: "Make something people want.", done: false },
// { id: 1, title: "Bootstrap for as long as you can", done: false },
// { id: 2, title: "Let's solve our own problem", done: false }
],
hash: '#/', // the "route" to display
// editing: 2 // edit the 3rd todo list item (which has id == 2)
};
todos: [
{ id: 3, title: "Finish GitHub PR task", done: false }

],
hash: '#/',
};

mount(model, update, view, 'app', subscriptions);
</script>

Expand Down