sonarr-repo-only/UI/Settings/Notifications/AddView.js

24 lines
622 B
JavaScript
Raw Normal View History

2013-06-22 06:24:24 +00:00
'use strict';
2013-05-25 06:38:43 +00:00
define([
2013-06-19 01:02:23 +00:00
'marionette',
'Settings/Notifications/AddItemView'
], function (Marionette, AddItemView) {
return Marionette.CompositeView.extend({
itemView : AddItemView,
itemViewContainer: '.notifications .items',
template : 'Settings/Notifications/AddTemplate',
2013-05-29 02:49:17 +00:00
itemViewOptions: function () {
return {
notificationCollection: this.notificationCollection
};
},
initialize: function (options) {
this.notificationCollection = options.notificationCollection;
}
2013-05-25 06:38:43 +00:00
});
});