(callback, status, response, headersString, statusText, xhrStatus)
| 13594 | } |
| 13595 | |
| 13596 | function completeRequest(callback, status, response, headersString, statusText, xhrStatus) { |
| 13597 | // cancel timeout and subsequent timeout promise resolution |
| 13598 | if (isDefined(timeoutId)) { |
| 13599 | $browserDefer.cancel(timeoutId); |
| 13600 | } |
| 13601 | jsonpDone = xhr = null; |
| 13602 | |
| 13603 | callback(status, response, headersString, statusText, xhrStatus); |
| 13604 | } |
| 13605 | }; |
| 13606 | |
| 13607 | function jsonpReq(url, callbackPath, done) { |
no test coverage detected