removed NzbDrone. namespace, everything is done using require.

This commit is contained in:
Keivan Beigi 2013-06-24 16:41:59 -07:00
commit b0bd3f34f1
121 changed files with 2570 additions and 2587 deletions

View file

@ -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;
});