JS cleanup

This commit is contained in:
Julius Haertl
2016-11-09 13:08:45 +01:00
parent 493b9b6260
commit 7c4d007642
6 changed files with 20 additions and 77 deletions

View File

@@ -90,7 +90,7 @@ app.factory('StackService', function(ApiService, $http, $q){
}
}
};
StackService.prototype.deleteCard = function(entity) {
StackService.prototype.removeCard = function(entity) {
var self = this;
var cards = this.data[entity.stackId].cards;
for(var i=0;i<cards.length;i++) {