1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-03-04 02:18:06 +00:00
Lidarr/UI/Settings/Notifications/AddView.js

24 lines
622 B
JavaScript
Raw Normal View History

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