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

Function resolvePromiseWithResult

test/angular/1.6/angular.js:12797–12799  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

12795 }
12796
12797 function resolvePromiseWithResult(result) {
12798 resolvePromise(result.data, result.status, shallowCopy(result.headers()), result.statusText, result.xhrStatus);
12799 }
12800
12801 function removePendingReq() {
12802 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