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

Function handleResponse

lib/test/angular/1.8.0/angular-mocks.js:1550–1555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1548 return handleResponse;
1549
1550 function handleResponse() {
1551 var response = wrapped.response(method, url, data, headers, wrapped.params(url));
1552 xhr.$$respHeaders = response[2];
1553 callback(copy(response[0]), copy(response[1]), xhr.getAllResponseHeaders(),
1554 copy(response[3] || ''), copy(response[4]));
1555 }
1556
1557 function handlePrematureEnd(reason) {
1558 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