(callback, status, response, headersString, statusText, xhrStatus)
| 12854 | } |
| 12855 | |
| 12856 | function completeRequest(callback, status, response, headersString, statusText, xhrStatus) { |
| 12857 | // cancel timeout and subsequent timeout promise resolution |
| 12858 | if (isDefined(timeoutId)) { |
| 12859 | $browserDefer.cancel(timeoutId); |
| 12860 | } |
| 12861 | jsonpDone = xhr = null; |
| 12862 | |
| 12863 | callback(status, response, headersString, statusText, xhrStatus); |
| 12864 | } |
| 12865 | }; |
| 12866 | |
| 12867 | function jsonpReq(url, callbackPath, done) { |
no test coverage detected