2013-06-21 23:24:24 -07:00
|
|
|
'use strict';
|
2013-05-24 23:38:43 -07:00
|
|
|
|
|
|
|
define([
|
2013-06-18 18:02:23 -07:00
|
|
|
'marionette',
|
|
|
|
'Settings/Notifications/AddItemView'
|
|
|
|
], function (Marionette, AddItemView) {
|
|
|
|
|
|
|
|
return Marionette.CompositeView.extend({
|
|
|
|
itemView : AddItemView,
|
2013-06-25 17:34:33 -07:00
|
|
|
itemViewContainer: '.add-notifications .items',
|
2013-06-18 18:02:23 -07:00
|
|
|
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
|
|
|
});
|
|
|
|
});
|