| 25 | module.exports = (CodePlaybackView = (function () { |
| 26 | CodePlaybackView = class CodePlaybackView extends CocoView { |
| 27 | static initClass () { |
| 28 | this.prototype.id = 'codeplayback-view' |
| 29 | this.prototype.template = template |
| 30 | this.prototype.controlsEnabled = true |
| 31 | this.prototype.events = { |
| 32 | 'click #play-button': 'onPlayClicked', |
| 33 | 'input #slider': 'onSliderInput', |
| 34 | 'click #pause-button': 'onPauseClicked', |
| 35 | 'click .speed-button': 'onSpeedButtonClicked' |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | constructor (options) { |
| 40 | super() |