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

Function completeRequest

test/angular/1.4/angular.js:11063–11072  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText)

Source from the content-addressed store, hash-verified

11061 }
11062
11063 function completeRequest(callback, status, response, headersString, statusText) {
11064 // cancel timeout and subsequent timeout promise resolution
11065 if (isDefined(timeoutId)) {
11066 $browserDefer.cancel(timeoutId);
11067 }
11068 jsonpDone = xhr = null;
11069
11070 callback(status, response, headersString, statusText);
11071 $browser.$$completeOutstandingRequest(noop);
11072 }
11073 };
11074
11075 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