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

Function transformResponse

lib/test/angular/1.8.0/angular.js:13100–13108  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

13098 }
13099
13100 function transformResponse(response) {
13101 // make a copy since the response must be cacheable
13102 var resp = extend({}, response);
13103 resp.data = transformData(response.data, response.headers, response.status,
13104 config.transformResponse);
13105 return (isSuccess(response.status))
13106 ? resp
13107 : $q.reject(resp);
13108 }
13109 }
13110
13111 $http.pendingRequests = [];

Callers

nothing calls this directly

Calls 3

extendFunction · 0.70
transformDataFunction · 0.70
isSuccessFunction · 0.70

Tested by

no test coverage detected