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

Method openMap

app/views/editor/level/treema_nodes.js:193–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

191 }
192
193 openMap () {
194 const bounds = this.getData() || [{ x: 0, y: 0 }, { x: 100, y: 80 }]
195 const modal = new WorldSelectModal({ world: this.settings.world, dataType: 'region', default: bounds, supermodel: this.settings.supermodel })
196 modal.callback = this.callback
197 return this.settings.view.openModalView(modal)
198 }
199
200 callback (e) {
201 if (!e) { return }

Callers 1

onClickMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected