Commit c1f67a1d authored by TasteBot's avatar TasteBot

update the build files for gh-pages [ci skip]

parent d613d31f
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<a href="#/completed">Completed</a> <a href="#/completed">Completed</a>
</li> </li>
</ul> </ul>
<button id="clear-completed" data-weave="troopjs-todos/widget/clear">Clear completed (1)</button> <button id="clear-completed" data-weave="troopjs-todos/widget/clear">Clear completed</button>
</footer> </footer>
</section> </section>
<footer id="info"> <footer id="info">
......
...@@ -13,7 +13,7 @@ define([ ...@@ -13,7 +13,7 @@ define([
'hub:memory/todos/change': function onChange(items) { 'hub:memory/todos/change': function onChange(items) {
var count = items.filter(filter).length; var count = items.filter(filter).length;
this.$element.text('Clear completed (' + count + ')').toggle(count > 0); this.$element.toggle(count > 0);
}, },
'dom/click': function onClear() { 'dom/click': function onClear() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment