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

Method callback

app/views/editor/level/treema_nodes.js:64–69  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

62 }
63
64 callback (e) {
65 if ((e != null ? e.point : undefined) == null) { return }
66 this.data.x = shorten(e.point.x)
67 this.data.y = shorten(e.point.y)
68 return this.refreshDisplay()
69 }
70})
71
72class WorldRegionNode extends TreemaNode.nodeMap.object {

Callers 1

doneMethod · 0.45

Calls 1

shortenFunction · 0.85

Tested by

no test coverage detected