1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/Series/SeasonCollection.js
2013-09-09 23:44:00 -07:00

15 lines
332 B
JavaScript

'use strict';
define(
[
'backbone',
'Series/SeasonModel'
], function (Backbone, SeasonModel) {
return Backbone.Collection.extend({
model: SeasonModel,
comparator: function (season) {
return -season.get('seasonNumber');
}
});
});