style: Remove trailing spaces

stable
Miguel Gonzalez 2018-08-06 09:19:18 +02:00 committed by Alex Hermida
parent a7a8142aec
commit d96e1f7d80
1 changed files with 6 additions and 6 deletions

View File

@ -85,20 +85,20 @@ KanbanSortableDirective = ($repo, $rs, $rootscope) ->
if !dragMultipleItems.length if !dragMultipleItems.length
dragMultipleItems = [item] dragMultipleItems = [item]
firstElement = dragMultipleItems[0] firstElement = dragMultipleItems[0]
index = $(firstElement).index() index = $(firstElement).index()
newStatus = newParentScope.s.id newStatus = newParentScope.s.id
usList = _.map dragMultipleItems, (item) -> $(item).scope().us usList = _.map dragMultipleItems, (item) -> $(item).scope().us
finalUsList = _.map usList, (item) -> finalUsList = _.map usList, (item) ->
return { return {
id: item.get('id'), id: item.get('id'),
oldStatusId: item.getIn(['model', 'status']) oldStatusId: item.getIn(['model', 'status'])
} }
$scope.$apply -> $scope.$apply ->
_.each usList, (item, key) => _.each usList, (item, key) =>
oldStatus = item.getIn(['model', 'status']) oldStatus = item.getIn(['model', 'status'])
sameContainer = newStatus == oldStatus sameContainer = newStatus == oldStatus