blob: 088e5887c3f5cef22b26b69c6e04a2407780eb58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
ClipPlay.Views.SampleEditor = Marionette.CollectionView.extend({
itemView: ClipPlay.Views.Sample,
itemViewOptions: function(model, index) {
return {
collection: this.collection
};
},
onRender: function() {
// Initialize view for adding new samples
this.sample_add_view = new ClipPlay.Views.SampleAddView({
el: $('#add-sample'),
collection: this.collection
});
}
});
|