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

Method constructor

app/views/editor/level/treema_nodes.js:171–176  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

169 }
170
171 constructor (...args) {
172 super(...Array.from(args || []))
173 this.callback = this.callback.bind(this)
174 if (this.settings.world == null) { console.error('Bounds Treema node needs a World included in the settings.') }
175 if (this.settings.view == null) { console.error('Bounds Treema node needs a RootView included in the settings.') }
176 }
177
178 buildValueForDisplay (valEl, data) {
179 super.buildValueForDisplay(valEl, data)

Callers

nothing calls this directly

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected