swannodette/todomvc — pull request #4 by joshhead (2013-12-19 23:14:28+00:00)
Title: Keep toggle-all in sync with todos, add parentheses to completed count

Automatically check the toggle-all checkbox when all todos are complete.

Uncheck toggle-all if some todos are not complete.

The box is checked when there are no todos, but I think this is fine as it should be set to display:none when there are no items.

This commit also adds parenthesis around the count of completed todos.