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

Method openMap

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

Source from the content-addressed store, hash-verified

95 }
96
97 openMap () {
98 const modal = new WorldSelectModal({ world: this.settings.world, dataType: 'region', default: this.createWorldBounds(), supermodel: this.settings.supermodel })
99 modal.callback = this.callback
100 return this.settings.view.openModalView(modal)
101 }
102
103 callback (e) {
104 const x = Math.min(e.points[0].x, e.points[1].x)

Callers 1

onClickMethod · 0.95

Calls 1

createWorldBoundsMethod · 0.95

Tested by

no test coverage detected