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

Method constructor

app/views/ladder/MyMatchesTabView.js:36–46  ·  view source on GitHub ↗
(options, level, sessions)

Source from the content-addressed store, hash-verified

34 }
35
36 constructor (options, level, sessions) {
37 super(...arguments)
38 this.generateScoreLineChart = this.generateScoreLineChart.bind(this)
39
40 this.level = level
41 this.sessions = sessions
42 this.nameMap = {}
43 this.previouslyRankingTeams = {}
44 this.matchesLimit = 95
45 this.refreshMatches(20)
46 }
47
48 onLoadMoreMatches () {
49 if (this.matchesLimit == null) { this.matchesLimit = 95 }

Callers

nothing calls this directly

Calls 1

refreshMatchesMethod · 0.95

Tested by

no test coverage detected