diff options
Diffstat (limited to 'assets/js/views/sample.js')
| -rw-r--r-- | assets/js/views/sample.js | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/assets/js/views/sample.js b/assets/js/views/sample.js index ed87619..bab5488 100644 --- a/assets/js/views/sample.js +++ b/assets/js/views/sample.js @@ -43,13 +43,20 @@ ClipPlay.Views.Sample = Marionette.ItemView.extend({ this.start_clip_line = new ClipPlay.Views.ClipLine({ type: 'start', el: this.$('.js-start-position'), - model: this.model + model: this.model, + sample_view: this }); this.stop_clip_line = new ClipPlay.Views.ClipLine({ type: 'stop', el: this.$('.js-end-position'), - model: this.model + model: this.model, + sample_view: this + }); + + this.selected_bar = new ClipPlay.Views.SelectedBar({ + el: this.$('.js-selected-bar'), + sample_view: this }); }, |
