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

Function completeRequest

lib/test/angular/1.5.0/angular.js:11457–11466  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText)

Source from the content-addressed store, hash-verified

11455 }
11456
11457 function completeRequest(callback, status, response, headersString, statusText) {
11458 // cancel timeout and subsequent timeout promise resolution
11459 if (isDefined(timeoutId)) {
11460 $browserDefer.cancel(timeoutId);
11461 }
11462 jsonpDone = xhr = null;
11463
11464 callback(status, response, headersString, statusText);
11465 $browser.$$completeOutstandingRequest(noop);
11466 }
11467 };
11468
11469 function jsonpReq(url, callbackId, done) {

Callers 2

createHttpBackendFunction · 0.70
requestErrorFunction · 0.70

Calls 2

isDefinedFunction · 0.70
callbackFunction · 0.70

Tested by

no test coverage detected