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

Function transformResponse

lib/test/angular/1.6.7/angular.js:12315–12323  ·  view source on GitHub ↗
(response)

Source from the content-addressed store, hash-verified

12313 }
12314
12315 function transformResponse(response) {
12316 // make a copy since the response must be cacheable
12317 var resp = extend({}, response);
12318 resp.data = transformData(response.data, response.headers, response.status,
12319 config.transformResponse);
12320 return (isSuccess(response.status))
12321 ? resp
12322 : $q.reject(resp);
12323 }
12324 }
12325
12326 $http.pendingRequests = [];

Callers

nothing calls this directly

Calls 3

extendFunction · 0.70
transformDataFunction · 0.70
isSuccessFunction · 0.70

Tested by

no test coverage detected