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

Method onLoad

app/views/ladder/LadderTabView.js:558–563  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

556 }
557
558 onLoad () {
559 if (this.destroyed || !this.topPlayers.loaded) { return }
560 this.loaded = true
561 this.loading = false
562 return this.trigger('sync', this)
563 }
564 // TODO: cache user ids -> names mapping, and load them here as needed,
565 // and apply them to sessions. Fetching each and every time is too costly.
566

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected