addyosmani/todomvc — pull request #416 by passy (2013-02-01 21:24:57+00:00)
Title: Closure app doesn't apply 'completed' class to items

There were two problems here: First of all it attempted to add a 'done' class instead of 'completed'. Secondly, the updated node is removed from the DOM right away in a re-rendering step that happens after every state modification. I moved the logic to the template where it works correctly.