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

Method complete

app/views/play/SpectateView.js:453–459  ·  view source on GitHub ↗
(jqxhr, textStatus)

Source from the content-addressed store, hash-verified

451 type: 'GET',
452 cache: false,
453 complete (jqxhr, textStatus) {
454 if (textStatus !== 'success') {
455 return cb('error', jqxhr.statusText) // eslint-disable-line n/no-callback-literal
456 } else {
457 return cb(null, $.parseJSON(jqxhr.responseText))
458 }
459 }
460 })
461 }
462

Callers 1

tasksForLevelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected