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

Method success

app/views/ladder/MainLadderView.js:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64 getLevelPlayCounts () {
65 const success = levelPlayCounts => {
66 if (this.destroyed) { return }
67 for (const level of Array.from(levelPlayCounts)) {
68 this.levelPlayCountMap[level._id] = { playtime: level.playtime, sessions: level.sessions }
69 }
70 if (this.supermodel.finished()) { return this.render() }
71 }
72
73 const levelIDs = []
74 for (const campaign of Array.from(campaigns)) {

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected