mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
removed NzbDrone. namespace, everything is done using require.
This commit is contained in:
parent
ef62af75df
commit
b0bd3f34f1
121 changed files with 2570 additions and 2587 deletions
|
@ -1,23 +1,24 @@
|
|||
'use strict';
|
||||
define(['app', 'Series/SeasonModel', 'backbone.pageable'], function (App, SeasonModel, PageAbleCollection) {
|
||||
NzbDrone.Series.SeasonCollection = PageAbleCollection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/season',
|
||||
model: NzbDrone.Series.SeasonModel,
|
||||
'use strict';
|
||||
define(
|
||||
[
|
||||
'Series/SeasonModel',
|
||||
'backbone.pageable'
|
||||
], function (SeasonModel, PageAbleCollection) {
|
||||
return PageAbleCollection.extend({
|
||||
url : window.ApiRoot + '/season',
|
||||
model: SeasonModel,
|
||||
|
||||
mode: 'client',
|
||||
mode: 'client',
|
||||
|
||||
state: {
|
||||
sortKey : 'seasonNumber',
|
||||
order : 1,
|
||||
pageSize: 1000000
|
||||
},
|
||||
state: {
|
||||
sortKey : 'seasonNumber',
|
||||
order : 1,
|
||||
pageSize: 1000000
|
||||
},
|
||||
|
||||
queryParams: {
|
||||
sortKey: null,
|
||||
order : null
|
||||
}
|
||||
queryParams: {
|
||||
sortKey: null,
|
||||
order : null
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
return NzbDrone.Series.SeasonCollection;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue