Commit cf5d277b authored by Pascal Hartig's avatar Pascal Hartig

Coffeescript adjusted for 70d77154

parent e6854934
...@@ -79,7 +79,7 @@ class TodoApp extends Spine.Controller ...@@ -79,7 +79,7 @@ class TodoApp extends Spine.Controller
text = (count) -> if count is 1 then 'item' else 'items' text = (count) -> if count is 1 then 'item' else 'items'
active = Todo.active().length active = Todo.active().length
completed = Todo.completed().length completed = Todo.completed().length
@count.html "<b>#{ active }</b> #{ text active } left" @count.html "<strong>#{ active }</strong> #{ text active } left"
@clearCompleted.text "Clear completed (#{ completed })" @clearCompleted.text "Clear completed (#{ completed })"
......
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