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

Function handleResponse

test/angular/1.3/angular-mocks.js:1212–1217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1210 return handleResponse;
1211
1212 function handleResponse() {
1213 var response = wrapped.response(method, url, data, headers);
1214 xhr.$$respHeaders = response[2];
1215 callback(copy(response[0]), copy(response[1]), xhr.getAllResponseHeaders(),
1216 copy(response[3] || ''));
1217 }
1218
1219 function handleTimeout() {
1220 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