(callback, status, response, headersString, statusText, xhrStatus)
| 13023 | } |
| 13024 | |
| 13025 | function completeRequest(callback, status, response, headersString, statusText, xhrStatus) { |
| 13026 | // cancel timeout and subsequent timeout promise resolution |
| 13027 | if (isDefined(timeoutId)) { |
| 13028 | $browserDefer.cancel(timeoutId); |
| 13029 | } |
| 13030 | jsonpDone = xhr = null; |
| 13031 | |
| 13032 | callback(status, response, headersString, statusText, xhrStatus); |
| 13033 | } |
| 13034 | }; |
| 13035 | |
| 13036 | function jsonpReq(url, callbackPath, done) { |
no test coverage detected