MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / transformResponse

Function transformResponse

lib/test/angular/1.7.0/angular.js:12466–12474  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

12464 }
12465
12466 function transformResponse(response) {
12467 // make a copy since the response must be cacheable
12468 var resp = extend({}, response);
12469 resp.data = transformData(response.data, response.headers, response.status,
12470 config.transformResponse);
12471 return (isSuccess(response.status))
12472 ? resp
12473 : $q.reject(resp);
12474 }
12475 }
12476
12477 $http.pendingRequests = [];

Callers

nothing calls this directly

Calls 3

extendFunction · 0.70
transformDataFunction · 0.70
isSuccessFunction · 0.70

Tested by

no test coverage detected