mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed NzbDrone. namespace, everything is done using require.
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
'use strict';
|
||||
'use strict';
|
||||
|
||||
define(['app', 'Series/Index/List/ItemView', 'Config'], function () {
|
||||
define(
|
||||
[
|
||||
'marionette',
|
||||
'Series/Index/List/ItemView'
|
||||
], function (Marionette, ListItemView) {
|
||||
|
||||
NzbDrone.Series.Index.List.CollectionView = Backbone.Marionette.CompositeView.extend({
|
||||
itemView : NzbDrone.Series.Index.List.ItemView,
|
||||
itemViewContainer : '#x-series-list',
|
||||
template : 'Series/Index/List/CollectionTemplate'
|
||||
return Marionette.CompositeView.extend({
|
||||
itemView : ListItemView,
|
||||
itemViewContainer: '#x-series-list',
|
||||
template : 'Series/Index/List/CollectionTemplate'
|
||||
});
|
||||
});
|
||||
|
||||
return NzbDrone.Series.Index.List.CollectionView;
|
||||
});
|
||||
|
Reference in New Issue
Block a user