Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6499163ff6
Fetching contributors…

Cannot retrieve contributors at this time

executable file 85 lines (66 sloc) 2.718 kb
<!doctype html>
<!--[if lt IE 7 ]> <html class="no-js ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]> <html class="no-js ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]> <html class="no-js ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/favicon.ico">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="css/style.css?v=2">
<link rel="stylesheet" href="css/todos.css">
<script src="js/libs/modernizr-1.7.min.js"></script>
</head>
<body>
<script type="text/x-sc-template" data-sc-template="todos">
<h1>Todos</h1>
{{#view Todos.CreateTodoView}}
<input id="new-todo" type="text" placeholder="Wot?" >
{{/view}}
{{#view Todos.StatsView}}
<div class="remaining">
{{#view Todos.ClearCompletedView}}
<button>Clear Completed Todos</button>
{{/view}}
{{displayRemaining}} remaining.
</div>
{{/view}}
{{#view Todos.MarkAllDoneView}}
<label class='done-label'>
<input class="mark-all-done" type="checkbox"> Mark All as Done
</label>
{{/view}}
{{#collection Todos.TodoListView itemClassBinding="content.isDone"}}
<label class='done'>
{{#view Todos.CheckboxView}}
<input class="check" type="checkbox">
{{/view}}
<div class="todo-content">{{content.title}}</div>
</label>
{{/collection}}
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
<script>window.jQuery || document.write("<script src='js/libs/jquery-1.5.1.min.js'>\x3C/script>")</script>
<script src="js/mylibs/amber.js"></script>
<script src="js/todos.js"></script>
<!-- scripts concatenated and minified via ant build script-->
<script src="js/plugins.js"></script>
<script src="js/script.js"></script>
<!-- end scripts-->
<!--[if lt IE 7 ]>
<script src="js/libs/dd_belatedpng.js"></script>
<script>DD_belatedPNG.fix("img, .png_bg");</script>
<![endif]-->
<script>
var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]]; // Change UA-XXXXX-X to be your site's ID
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js";
s.parentNode.insertBefore(g,s)}(document,"script"));
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.