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

Method callback

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

Source from the content-addressed store, hash-verified

198 }
199
200 callback (e) {
201 if (!e) { return }
202 this.set('/0', { x: shorten(e.points[0].x), y: shorten(e.points[0].y) })
203 return this.set('/1', { x: shorten(e.points[1].x), y: shorten(e.points[1].y) })
204 }
205 }
206 WorldBoundsNode.initClass()
207 return WorldBoundsNode

Callers

nothing calls this directly

Calls 2

shortenFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected