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

Method onPatchesLoaded

app/views/editor/PatchesView.js:49–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 }
48
49 onPatchesLoaded () {
50 const ids = (Array.from(this.patches.models).map((p) => p.get('creator')))
51 const jqxhrOptions = nameLoader.loadNames(ids)
52 if (jqxhrOptions) { return this.supermodel.addRequestResource('user_names', jqxhrOptions).load() }
53 }
54
55 getRenderData () {
56 const c = super.getRenderData()

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
loadNamesMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected