1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-28 02:27:13 +00:00
Lidarr/UI/Series/SeasonCollection.js

15 lines
332 B
JavaScript
Raw Normal View History

'use strict';
define(
[
'backbone',
'Series/SeasonModel'
], function (Backbone, SeasonModel) {
return Backbone.Collection.extend({
model: SeasonModel,
2013-05-12 15:53:39 +00:00
comparator: function (season) {
return -season.get('seasonNumber');
}
});
2013-03-03 22:42:26 +00:00
});