(callback, status, response, headersString, statusText)
| 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) { |
no test coverage detected