Skip to content

Commit

Permalink
Add analytics to the Knockback app + small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 2, 2012
1 parent 38b6a00 commit 54ba802
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 498 deletions.
5 changes: 3 additions & 2 deletions architecture-examples/knockback/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# Knockback.js TodoMVC app
# Knockback.js [TodoMVC](http://todomvc.com)

Forked from https://github.com/kmalakoff/knockback-todos


## Getting started

You need [CoffeScript](http://coffeescript.org) to compile if you make changes to the files in the `src` folder.


### Compile
## Compile

Open Terminal in this folder.

Expand Down
12 changes: 5 additions & 7 deletions architecture-examples/knockback/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Knockback.js • TodoMVC</title>
<link rel="stylesheet" href="../../assets/base.css">
<!--[if IE]>
<script src="../../assets/ie.js"></script>
<![endif]-->
</head>
<body>
<section id="todoapp">
Expand Down Expand Up @@ -47,27 +50,23 @@ <h1>todos</h1>
</section>
<footer id="info">
<p>Double-click to edit a todo</p>
<p>Template by <a href="http://sindresorhus.com">Sindre Sorhus</a></p>
<p>Template by <a href="http://github.com/sindresorhus">Sindre Sorhus</a></p>
<p>Created by <a href="https://github.com/kmalakoff">Kevin Malakoff</a>. <br/>
Please try out the <a href="http://kmalakoff.github.com/knockback-todos/">enhanced version</a> <br/>
with localization, priority colors, and lazy loading <br/>
to see just how dynamic <a href="https://github.com/kmalakoff/knockback">Knockback.js</a> can be!</p>
<p>Part of <a href="http://todomvc.com">TodoMVC</a></p>
</footer>

<!-- Demo Dependencies -->
<script src="js/lib/json2.js"></script>
<script src="../../assets/base.js"></script>
<script src="../../assets/jquery.min.js"></script>

<!-- Knockback Dependencies -->
<script src="js/lib/underscore-min.js"></script>
<script src="js/lib/backbone-min.js"></script>
<script src="js/lib/knockout-2.0.0.js"></script>
<script src="js/lib/knockback.min.js"></script>

<!-- More Demo Dependencies -->
<script src="js/lib/backbone-localstorage.js"></script>

<!-- Demo Components -->
<script src="js/models/todo.js"></script>
<script src="js/models/todo_collection.js"></script>
Expand All @@ -76,7 +75,6 @@ <h1>todos</h1>
<script src="js/viewmodels/todos.js"></script>
<script src="js/viewmodels/footer.js"></script>
<script src="js/routers/app.js"></script>

<!-- The Demo -->
<script src="../../assets/base.js"></script>
<script src="js/app.js"></script>
Expand Down
Loading

0 comments on commit 54ba802

Please sign in to comment.