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

Method initClass

app/views/editor/level/thangs/ThangsTabView.js:1331–1336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1329
1330class ThangNode extends TreemaObjectNode {
1331 static initClass () {
1332 this.prototype.valueClass = 'treema-thang'
1333 this.prototype.collection = false
1334 this.thangNameMap = {}
1335 this.thangKindMap = {}
1336 }
1337
1338 buildValueForDisplay (valEl, data) {
1339 const pos = _.find(data.components, c => c.config?.pos)?.config.pos // TODO: hack

Callers 1

ThangsTabView.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected