Skip to content

Commit

Permalink
use Thorax collection filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Eastridge committed Sep 20, 2012
1 parent 3755162 commit 561b501
Show file tree
Hide file tree
Showing 8 changed files with 1,539 additions and 111 deletions.
4 changes: 2 additions & 2 deletions labs/architecture-examples/thorax/index.html
Expand Up @@ -20,7 +20,7 @@ <h1>todos</h1>
<section id="main">
<input id="toggle-all" type="checkbox">
<label for="toggle-all">Mark all as complete</label>
{{#collection todosCollection item-view="todo-item" tag="ul" id="todo-list"}}
{{#collection todosCollection filter="filterTodoItem" item-view="todo-item" tag="ul" id="todo-list"}}
<div class="view">
<input class="toggle" type="checkbox" {{#if completed}}checked{{/if}}>
<label>{{title}}</label>
Expand Down Expand Up @@ -59,7 +59,7 @@ <h1>todos</h1>
<script src="../../../assets/jquery.min.js"></script>
<script src="../../../assets/lodash.min.js"></script>
<script src="../../../assets/handlebars.min.js"></script>
<script src="js/lib/backbone-min.js"></script>
<script src="js/lib/backbone.js"></script>
<script src="js/lib/backbone-localstorage.js"></script>
<script src="js/lib/thorax.js"></script>
<script>
Expand Down
38 changes: 0 additions & 38 deletions labs/architecture-examples/thorax/js/lib/backbone-min.js

This file was deleted.

0 comments on commit 561b501

Please sign in to comment.