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
608 B
24 lines
608 B
'use strict';
|
|
|
|
define([
|
|
'backbone',
|
|
'marionette'
|
|
], function (Backbone, Marionette) {
|
|
|
|
return Marionette.CompositeView.extend({
|
|
itemViewContainer: '.item-list',
|
|
template: 'Settings/ThingyHeaderGroupViewTemplate',
|
|
tagName : 'div',
|
|
|
|
itemViewOptions: function () {
|
|
return {
|
|
targetCollection: this.targetCollection || this.options.targetCollection
|
|
};
|
|
},
|
|
|
|
initialize: function () {
|
|
this.collection = new Backbone.Collection(this.model.get('collection'));
|
|
}
|
|
});
|
|
});
|