Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 84a4f4069a
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (38 sloc) 1.246 kb
<!DOCTYPE html>
<html>
<head>
<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;
}
</style>
<script type="text/javascript" src="js/ext/jquery-1.7.1.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>
</head>
<body>
<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') });
});
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.