MCPcopy Create free account
hub / github.com/codecombat/codecombat / initClass

Method initClass

app/views/admin/CodePlaybackView.js:27–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

25module.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()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected