You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
622 B
24 lines
622 B
"use strict";
|
|
|
|
define([
|
|
'marionette',
|
|
'Settings/Notifications/AddItemView'
|
|
], function (Marionette, AddItemView) {
|
|
|
|
return Marionette.CompositeView.extend({
|
|
itemView : AddItemView,
|
|
itemViewContainer: '.notifications .items',
|
|
template : 'Settings/Notifications/AddTemplate',
|
|
|
|
itemViewOptions: function () {
|
|
return {
|
|
notificationCollection: this.notificationCollection
|
|
};
|
|
},
|
|
|
|
initialize: function (options) {
|
|
this.notificationCollection = options.notificationCollection;
|
|
}
|
|
});
|
|
});
|