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