Commit d30cfc5f authored by TasteBot's avatar TasteBot

update the build files for gh-pages [ci skip]

parent 0a9cbb0c
......@@ -85,9 +85,9 @@ todomvc.controller('TodoCtrl', function TodoCtrl($scope, $location, $filter, tod
$scope.markAll = function (completed) {
todos.forEach(function (todo) {
todo.completed = !completed;
todo.completed = completed;
});
$scope.remainingCount = completed ? todos.length : 0;
$scope.remainingCount = completed ? 0 : todos.length;
todoStorage.put(todos);
};
});
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