MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / completeRequest

Function completeRequest

lib/test/angular/1.4.3/angular.js:10529–10538  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText)

Source from the content-addressed store, hash-verified

10527 }
10528
10529 function completeRequest(callback, status, response, headersString, statusText) {
10530 // cancel timeout and subsequent timeout promise resolution
10531 if (timeoutId !== undefined) {
10532 $browserDefer.cancel(timeoutId);
10533 }
10534 jsonpDone = xhr = null;
10535
10536 callback(status, response, headersString, statusText);
10537 $browser.$$completeOutstandingRequest(noop);
10538 }
10539 };
10540
10541 function jsonpReq(url, callbackId, done) {

Callers 2

createHttpBackendFunction · 0.70
requestErrorFunction · 0.70

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected