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

Method onLoaded

app/views/artisans/LevelTasksView.js:40–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 onLoaded () {
41 for (const campaign of Array.from(this.campaigns.models)) {
42 for (const level of Array.from(campaign.levels.models)) {
43 const levelSlug = level.get('slug')
44 this.levels[levelSlug] = level
45 }
46 }
47 this.processLevels()
48 return super.onLoaded()
49 }
50
51 processLevels () {
52 this.processedLevels = {}

Callers

nothing calls this directly

Calls 2

processLevelsMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected