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

Method constructor

app/views/admin/CodePlaybackView.js:39–48  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

37 }
38
39 constructor (options) {
40 super()
41 this.updateSlider = this.updateSlider.bind(this)
42 this.spade = new Spade()
43 this.options = options
44 this.options.decompressedLog = LZString.decompressFromUTF16(this.options.rawLog)
45 if (this.options.decompressedLog == null) { return }
46 this.options.events = this.spade.expand(JSON.parse(this.options.decompressedLog))
47 this.maxTime = this.options.events[this.options.events.length - 1].timestamp
48 }
49 // @spade.play(@options.events, $('#codearea').context)
50
51 afterRender () {

Callers

nothing calls this directly

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected