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

Function completeRequest

test/angular/1.6/angular.js:13025–13033  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText, xhrStatus)

Source from the content-addressed store, hash-verified

13023 }
13024
13025 function completeRequest(callback, status, response, headersString, statusText, xhrStatus) {
13026 // cancel timeout and subsequent timeout promise resolution
13027 if (isDefined(timeoutId)) {
13028 $browserDefer.cancel(timeoutId);
13029 }
13030 jsonpDone = xhr = null;
13031
13032 callback(status, response, headersString, statusText, xhrStatus);
13033 }
13034 };
13035
13036 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