MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / completeRequest

Function completeRequest

lib/test/angular/1.7.0/angular.js:13027–13035  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText, xhrStatus)

Source from the content-addressed store, hash-verified

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