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

Method constructor

app/views/special_event/HoC2018View.js:23–34  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

21 }
22
23 constructor (options) {
24 super(options)
25 this.propsData = {
26 onGetCS1Free: teacherEmail => {
27 if (_.isEmpty(teacherEmail)) { return }
28 return this.openModalView(new CreateAccountModal({ startOnPath: 'teacher', email: teacherEmail }))
29 },
30 activity () {
31 return utils.getQueryVariable('activity') || 'ai-league'
32 }
33 }
34 }
35 }
36 HoC2018View.initClass()
37 return HoC2018View

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected