mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-23 22:25:14 -04:00
UI Cleanup - Updated Commands subtree.
This commit is contained in:
@@ -2,7 +2,10 @@ var Marionette = require('marionette');
|
||||
var commandCollection = require('./CommandCollection');
|
||||
var CommandMessengerItemView = require('./CommandMessengerItemView');
|
||||
|
||||
module.exports = (function(){
|
||||
var CollectionView = Marionette.CollectionView.extend({itemView : CommandMessengerItemView});
|
||||
return new CollectionView({collection : commandCollection});
|
||||
}).call(this);
|
||||
var CollectionView = Marionette.CollectionView.extend({
|
||||
itemView : CommandMessengerItemView
|
||||
});
|
||||
|
||||
module.exports = new CollectionView({
|
||||
collection : commandCollection
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user