Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge pull request #311 from vrajmohan/sort-comments
Browse files Browse the repository at this point in the history
Sort comments by label
  • Loading branch information
cmc333333 committed Apr 29, 2016
2 parents 748aee9 + cd49e66 commit 407dc9c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ var CommentCollection = Backbone.Collection.extend({
});

var comments = new CommentCollection();
comments.comparator = 'label';
comments.fetch();

module.exports = comments;

0 comments on commit 407dc9c

Please sign in to comment.