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

Method constructor

app/views/ladder/MainLadderView.js:38–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 }
37
38 constructor () {
39 super()
40
41 this.levelStatusMap = []
42 this.levelPlayCountMap = []
43 this.campaigns = campaigns
44
45 this.sessions = this.supermodel.loadCollection(new LevelSessionsCollection(), 'your_sessions', { cache: false }, 0).model
46 this.listenToOnce(this.sessions, 'sync', this.onSessionsLoaded)
47 }
48
49 // TODO: Make sure this is also enabled server side.
50 // Disabled due to high load on database.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected