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

Method onInfiniteLoop

app/views/play/SpectateView.js:264–268  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

262 // callbacks
263
264 onInfiniteLoop (e) {
265 if (!e.firstWorld || (e.god !== this.god)) { return }
266 this.openModalView(new InfiniteLoopModal({ nonUserCodeProblem: e.nonUserCodeProblem, problem: e.problem, timedOut: e.timedOut }))
267 return (window.tracker != null ? window.tracker.trackEvent('Saw Initial Infinite Loop', { level: this.world.name, label: this.world.name }) : undefined)
268 }
269
270 // initialization
271

Callers

nothing calls this directly

Calls 1

trackEventMethod · 0.45

Tested by

no test coverage detected