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

Method fillInDefaultSystemConfiguration

app/models/Level.js:457–468  ·  view source on GitHub ↗
(levelSystems)

Source from the content-addressed store, hash-verified

455 // console.log 'cached', cached, 'missed', missed
456
457 fillInDefaultSystemConfiguration (levelSystems) {
458 return (() => {
459 const result = []
460 for (const system of Array.from(levelSystems != null ? levelSystems : [])) {
461 if (system.config == null) { system.config = {} }
462 TreemaUtils.populateDefaults(system.config, system.model.configSchema || {}, tv4)
463 this.lastType = 'system'
464 result.push(this.lastOriginal = system.model.name)
465 }
466 return result
467 })()
468 }
469
470 dimensions () {
471 let width = 0

Callers 1

serializeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected