~kyrofa/snapweb/autorestart_services

« back to all changes in this revision

Viewing changes to www/src/js/collections/snaplist.js

* add sorting
* allow user to change list style
* split out collections by stephen-stewart approved by sergiusens

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
module.exports = Backbone.Collection.extend({
9
9
  url: CONF.PACKAGES,
10
 
  model: Snap
 
10
  model: Snap,
 
11
  comparator: function(model) {
 
12
    return model.get('name');
 
13
  }
11
14
});