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

Function completeRequest

test/angular/1.3/angular.js:9908–9917  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText)

Source from the content-addressed store, hash-verified

9906 }
9907
9908 function completeRequest(callback, status, response, headersString, statusText) {
9909 // cancel timeout and subsequent timeout promise resolution
9910 if (timeoutId !== undefined) {
9911 $browserDefer.cancel(timeoutId);
9912 }
9913 jsonpDone = xhr = null;
9914
9915 callback(status, response, headersString, statusText);
9916 $browser.$$completeOutstandingRequest(noop);
9917 }
9918 };
9919
9920 function jsonpReq(url, callbackId, done) {

Callers 2

createHttpBackendFunction · 0.70
requestErrorFunction · 0.70

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected