Commit 5995093b authored by Sindre Sorhus's avatar Sindre Sorhus

Backbone+require app: Convert to tabs

parent ecbd9576
define([
'underscore',
'backbone',
'libs/backbone/localstorage',
'lib/backbone/localstorage',
'models/todo'
], function(_, Backbone, Store, Todo){
......
<span id="todo-count"><strong><%= remaining %></strong> <%= remaining == 1 ? 'item' : 'items' %> left</span>
<ul id="filters">
<span id="todo-count"><strong><%= remaining %></strong> <%= remaining == 1 ? 'item' : 'items' %> left</span>
<ul id="filters">
<li>
<a class="selected" href="#/">All</a>
</li>
......@@ -9,7 +9,7 @@
<li>
<a href="#/completed">Completed</a>
</li>
</ul>
<% if (completed) { %>
<button id="clear-completed">Clear completed (<%= completed %>)</button>
<% } %>
\ No newline at end of file
</ul>
<% if (completed) { %>
<button id="clear-completed">Clear completed (<%= completed %>)</button>
<% } %>
<div class="view">
<div class="view">
<input class="toggle" type="checkbox" <%= completed ? 'checked="checked"' : '' %> />
<label><%- title %></label>
<button class="destroy"></button>
</div>
<input class="edit" type="text" value="<%- title %>" />
</div>
<input class="edit" type="text" value="<%- title %>" />
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