Merge branch 'rewrite' of github.com:lhorie/mithril.js into rewrite

This commit is contained in:
Leo Horie 2016-05-03 23:39:16 -04:00
commit a9cad2c45b

View file

@ -39,7 +39,7 @@ function countRemaining() {
}
function clear() {
for (var i = 0; i < todos.length; i++) {
if (todos[i].completed) destroy(todos[i])
if (todos[i].completed) destroy(todos[i--])
}
}