jpmonette/todomvc-mithril — pull request #4 by kiwidrew (2014-12-09 06:59:30+00:00)
Title: Fix "clear completed" button to actually work

As it stands, the "clear completed" button fails to work as intended. This is because the array is mutated during the traversal. An item which immediately follows a completed item will not be checked. The fix is to traverse the array backwards.