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

Function transformResponse

lib/test/angular/1.5.0/angular.js:10993–11001  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

10991 return promise;
10992
10993 function transformResponse(response) {
10994 // make a copy since the response must be cacheable
10995 var resp = extend({}, response);
10996 resp.data = transformData(response.data, response.headers, response.status,
10997 config.transformResponse);
10998 return (isSuccess(response.status))
10999 ? resp
11000 : $q.reject(resp);
11001 }
11002
11003 function executeHeaderFns(headers, config) {
11004 var headerContent, processedHeaders = {};

Callers

nothing calls this directly

Calls 3

extendFunction · 0.70
transformDataFunction · 0.70
isSuccessFunction · 0.70

Tested by

no test coverage detected