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

Function completeRequest

test/angular/1.5/angular.js:12284–12293  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText)

Source from the content-addressed store, hash-verified

12282 }
12283
12284 function completeRequest(callback, status, response, headersString, statusText) {
12285 // cancel timeout and subsequent timeout promise resolution
12286 if (isDefined(timeoutId)) {
12287 $browserDefer.cancel(timeoutId);
12288 }
12289 jsonpDone = xhr = null;
12290
12291 callback(status, response, headersString, statusText);
12292 $browser.$$completeOutstandingRequest(noop);
12293 }
12294 };
12295
12296 function jsonpReq(url, callbackPath, done) {

Callers 2

createHttpBackendFunction · 0.70
requestErrorFunction · 0.70

Calls 2

isDefinedFunction · 0.70
callbackFunction · 0.70

Tested by

no test coverage detected