Replace Object.keys with _.keys

stable
Andrey Antukh 2014-07-23 13:10:20 +02:00
parent e4975e3f25
commit 5a4982942f
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ class IssueDetailController extends mixOf(taiga.Controller, taiga.PageMixin)
return @scope.usersById[userId]?.photo return @scope.usersById[userId]?.photo
countChanges: (comment) -> countChanges: (comment) ->
return Object.keys(comment.values_diff).length return _.keys(comment.values_diff).length
getChangeText: (change) -> getChangeText: (change) ->
if _.isArray(change) if _.isArray(change)