mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-13 02:07:12 -07:00
UI dependency graph cleanup
This commit is contained in:
parent
86ea33b638
commit
4948d0608b
87 changed files with 1119 additions and 735 deletions
|
@ -2,8 +2,9 @@
|
|||
define(
|
||||
[
|
||||
'backbone',
|
||||
'Series/SeriesModel'
|
||||
], function (Backbone, SeriesModel) {
|
||||
'Series/SeriesModel',
|
||||
'api!series'
|
||||
], function (Backbone, SeriesModel, SeriesData) {
|
||||
var Collection = Backbone.Collection.extend({
|
||||
url : window.NzbDrone.ApiRoot + '/series',
|
||||
model: SeriesModel,
|
||||
|
@ -18,6 +19,6 @@ define(
|
|||
}
|
||||
});
|
||||
|
||||
var collection = new Collection();
|
||||
var collection = new Collection(SeriesData);
|
||||
return collection;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue