MCPcopy
hub / github.com/angular-ui/ui-router / handleResponse

Function handleResponse

test/angular/1.6/angular-mocks.js:1401–1406  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1399 return handleResponse;
1400
1401 function handleResponse() {
1402 var response = wrapped.response(method, url, data, headers, wrapped.params(url));
1403 xhr.$$respHeaders = response[2];
1404 callback(copy(response[0]), copy(response[1]), xhr.getAllResponseHeaders(),
1405 copy(response[3] || ''), copy(response[4]));
1406 }
1407
1408 function handlePrematureEnd(reason) {
1409 for (var i = 0, ii = responses.length; i < ii; i++) {

Callers

nothing calls this directly

Calls 2

callbackFunction · 0.70
copyFunction · 0.70

Tested by

no test coverage detected