(callback, status, response, headersString, statusText, xhrStatus)
| 13659 | } |
| 13660 | |
| 13661 | function completeRequest(callback, status, response, headersString, statusText, xhrStatus) { |
| 13662 | // cancel timeout and subsequent timeout promise resolution |
| 13663 | if (isDefined(timeoutId)) { |
| 13664 | $browserDefer.cancel(timeoutId); |
| 13665 | } |
| 13666 | jsonpDone = xhr = null; |
| 13667 | |
| 13668 | callback(status, response, headersString, statusText, xhrStatus); |
| 13669 | } |
| 13670 | }; |
| 13671 | |
| 13672 | function jsonpReq(url, callbackPath, done) { |
no test coverage detected