1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 17:47:08 +00:00
Lidarr/UI/Settings/Notifications/AddView.js

24 lines
626 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,
2013-06-26 00:34:33 +00:00
itemViewContainer: '.add-notifications .items',
2013-06-19 01:02:23 +00:00
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
});
});