Commit b557436e authored by TasteBot's avatar TasteBot

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

parent 24a7f054
......@@ -30,7 +30,8 @@ angular.module('todomvc')
clearCompleted: function () {
var originalTodos = store.todos.slice(0);
var completeTodos = [], incompleteTodos = [];
var completeTodos = [];
var incompleteTodos = [];
store.todos.forEach(function (todo) {
if (todo.completed) {
completeTodos.push(todo);
......@@ -121,7 +122,8 @@ angular.module('todomvc')
clearCompleted: function () {
var deferred = $q.defer();
var completeTodos = [], incompleteTodos = [];
var completeTodos = [];
var incompleteTodos = [];
store.todos.forEach(function (todo) {
if (todo.completed) {
completeTodos.push(todo);
......
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