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

Function completeRequest

test/angular/1.7/angular.js:13596–13604  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText, xhrStatus)

Source from the content-addressed store, hash-verified

13594 }
13595
13596 function completeRequest(callback, status, response, headersString, statusText, xhrStatus) {
13597 // cancel timeout and subsequent timeout promise resolution
13598 if (isDefined(timeoutId)) {
13599 $browserDefer.cancel(timeoutId);
13600 }
13601 jsonpDone = xhr = null;
13602
13603 callback(status, response, headersString, statusText, xhrStatus);
13604 }
13605 };
13606
13607 function jsonpReq(url, callbackPath, done) {

Callers 4

createHttpBackendFunction · 0.70
requestErrorFunction · 0.70
requestAbortedFunction · 0.70
requestTimeoutFunction · 0.70

Calls 2

isDefinedFunction · 0.70
callbackFunction · 0.70

Tested by

no test coverage detected