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

Method getLevels

app/views/play/CampaignView.js:2503–2506  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2501 }
2502
2503 getLevels () {
2504 if (this.courseLevels != null) { return this.courseLevelsFake }
2505 return this.campaign?.get('levels')
2506 }
2507
2508 applyCourseLogicToLevels (orderedLevels) {
2509 const nextSlug = this.courseStats.levels.next?.get('slug') || this.courseStats.levels.first?.get('slug')

Callers 13

buildLevelScoreMapMethod · 0.95
getRenderDataMethod · 0.95
onClickStartLevelMethod · 0.95
onClickViewSolutionsMethod · 0.95
onLoadedMethod · 0.45
onClickPlayLevelMethod · 0.45
onLoadedMethod · 0.45
calculateAllCompletedMethod · 0.45
drawBarGraphMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected