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

Function completeRequest

lib/test/angular/1.8.0/angular.js:13661–13669  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText, xhrStatus)

Source from the content-addressed store, hash-verified

13659 }
13660
13661 function completeRequest(callback, status, response, headersString, statusText, xhrStatus) {
13662 // cancel timeout and subsequent timeout promise resolution
13663 if (isDefined(timeoutId)) {
13664 $browserDefer.cancel(timeoutId);
13665 }
13666 jsonpDone = xhr = null;
13667
13668 callback(status, response, headersString, statusText, xhrStatus);
13669 }
13670 };
13671
13672 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