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

Method getRenderData

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

Source from the content-addressed store, hash-verified

53 }
54
55 getRenderData () {
56 const c = super.getRenderData()
57 for (const patch of Array.from(this.patches.models)) { patch.userName = nameLoader.getName(patch.get('creator')) }
58 c.patches = this.patches.models
59 c.status
60 return c
61 }
62
63 afterRender () {
64 this.$el.find(`.${this.status}`).addClass('active')

Callers

nothing calls this directly

Calls 2

getNameMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected