1
0
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:
Taloth Saldono
2015-02-13 22:04:55 +01:00
parent 7b5c0a952b
commit 7b7f199587
5 changed files with 133 additions and 96 deletions
@@ -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
});