MCPcopy Create free account
hub / github.com/EricSimons/ionic-course / completeRequest

Function completeRequest

code/songhop/www/lib/angular/angular.js:9797–9806  ·  view source on GitHub ↗
(callback, status, response, headersString, statusText)

Source from the content-addressed store, hash-verified

9795 }
9796
9797 function completeRequest(callback, status, response, headersString, statusText) {
9798 // cancel timeout and subsequent timeout promise resolution
9799 if (timeoutId !== undefined) {
9800 $browserDefer.cancel(timeoutId);
9801 }
9802 jsonpDone = xhr = null;
9803
9804 callback(status, response, headersString, statusText);
9805 $browser.$$completeOutstandingRequest(noop);
9806 }
9807 };
9808
9809 function jsonpReq(url, callbackId, done) {

Callers 2

createHttpBackendFunction · 0.70
requestErrorFunction · 0.70

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected