MCPcopy
hub / github.com/angular-ui/ui-router / resolvePromiseWithResult

Function resolvePromiseWithResult

test/angular/1.7/angular.js:13368–13370  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

13366 }
13367
13368 function resolvePromiseWithResult(result) {
13369 resolvePromise(result.data, result.status, shallowCopy(result.headers()), result.statusText, result.xhrStatus);
13370 }
13371
13372 function removePendingReq() {
13373 var idx = $http.pendingRequests.indexOf(config);

Callers

nothing calls this directly

Calls 2

resolvePromiseFunction · 0.70
shallowCopyFunction · 0.70

Tested by

no test coverage detected