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

Function handleResponse

test/angular/1.5/angular-mocks.js:1366–1371  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1364 return handleResponse;
1365
1366 function handleResponse() {
1367 var response = wrapped.response(method, url, data, headers, wrapped.params(url));
1368 xhr.$$respHeaders = response[2];
1369 callback(copy(response[0]), copy(response[1]), xhr.getAllResponseHeaders(),
1370 copy(response[3] || ''));
1371 }
1372
1373 function handleTimeout() {
1374 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