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

Method populateData

app/core/treema-ext.js:547–552  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

545 }
546
547 populateData () {
548 super.populateData()
549 if (Object.keys(this.data).length === 0) {
550 return this.data['-'] = { '-': '-' } // also to get around mongoose bug
551 }
552 }
553
554 getChildSchema (key) {
555 // construct the child schema here

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected