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

Method load

app/views/play/SpectateView.js:127–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125 }
126
127 load () {
128 this.levelLoader = new LevelLoader({
129 supermodel: this.supermodel,
130 levelID: this.levelID,
131 sessionID: this.sessionOne,
132 opponentSessionID: this.sessionTwo,
133 tournament: this.tournament,
134 spectateMode: true,
135 team: utils.getQueryVariable('team')
136 })
137 this.god = new God({ maxAngels: 1, spectate: true })
138 }
139
140 getRenderData () {
141 const c = super.getRenderData()

Callers 14

loadRandomSessionsMethod · 0.95
setLevelMethod · 0.95
isPlayedFunction · 0.45
constructorMethod · 0.45
onLoadedMethod · 0.45
afterRenderMethod · 0.45
showAiLeagueModalMethod · 0.45
loadUserPollsRecordMethod · 0.45
shouldShowMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected