Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
44 lines (38 sloc) 1.245 kB
<!DOCTYPE html>
<title>Backbone Demo: Todos</title>
<link href="css/todos.css" media="all" rel="stylesheet" type="text/css"/>
<style type="text/css">
#spec_link {
position: absolute;
top: 20px;
right: 20px;
font-size: 22px;
color: #333;
text-decoration: none;
#spec_link:hover {
color: #666;
text-decoration: underline;
<script type="text/javascript" src="js/ext/jquery.js"></script>
<script type="text/javascript" src="js/ext/underscore.js"></script>
<script type="text/javascript" src="js/ext/template.js"></script>
<script type="text/javascript" src="js/ext/backbone.js"></script>
<script type="text/javascript" src="js/ext/backbone.localStorage.js"></script>
<script type="text/javascript" src="js/todos.js"></script>
<a id="spec_link" href="specrunner.html">To the Koans&nbsp;&#187;&nbsp;</a>
<script type="text/javascript">
$(document).ready(function(evt) {
_.extend(TodoList.prototype, {
localStorage: new Store('todos')
App = new TodoApp({ appendTo: $('body') });
Jump to Line
Something went wrong with that request. Please try again.