MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / completeRequest

Function completeRequest

web/static/bower_components/angular/angular.js:10737–10746  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText)

Source from the content-addressed store, hash-verified

10735 }
10736
10737 function completeRequest(callback, status, response, headersString, statusText) {
10738 // cancel timeout and subsequent timeout promise resolution
10739 if (isDefined(timeoutId)) {
10740 $browserDefer.cancel(timeoutId);
10741 }
10742 jsonpDone = xhr = null;
10743
10744 callback(status, response, headersString, statusText);
10745 $browser.$$completeOutstandingRequest(noop);
10746 }
10747 };
10748
10749 function jsonpReq(url, callbackId, done) {

Callers 2

createHttpBackendFunction · 0.85
requestErrorFunction · 0.85

Calls 2

isDefinedFunction · 0.85
callbackFunction · 0.70

Tested by

no test coverage detected