blob: c244ff9c450fde456ecb890e010eeebcb0345291 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import Marionette from 'backbone.marionette';
import ItemView from './item-view';
import '../templates';
export default Marionette.CompositeView.extend({
className: 'workspace-nav',
template: Templates['workspace-items'],
childViewContainer: '.workspace-nav-list',
childView: ItemView,
childViewOptions: function () {
return { collectionView: this };
}
});
|