MCPcopy Index your code
hub / github.com/codecombat/codecombat / onSessionsLoaded

Method onSessionsLoaded

app/views/ladder/MainLadderView.js:57–62  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

55 }
56
57 onSessionsLoaded (e) {
58 for (const session of Array.from(this.sessions.models)) {
59 this.levelStatusMap[session.get('levelID')] = __guard__(session.get('state'), x => x.complete) ? 'complete' : 'started'
60 }
61 return this.render()
62 }
63
64 getLevelPlayCounts () {
65 const success = levelPlayCounts => {

Callers

nothing calls this directly

Calls 3

__guard__Function · 0.70
getMethod · 0.45
renderMethod · 0.45

Tested by

no test coverage detected