Buckets:
| ; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.getXHRResponse = void 0; | |
| function getXHRResponse(xhr) { | |
| switch (xhr.responseType) { | |
| case 'json': { | |
| if ('response' in xhr) { | |
| return xhr.response; | |
| } | |
| else { | |
| var ieXHR = xhr; | |
| return JSON.parse(ieXHR.responseText); | |
| } | |
| } | |
| case 'document': | |
| return xhr.responseXML; | |
| case 'text': | |
| default: { | |
| if ('response' in xhr) { | |
| return xhr.response; | |
| } | |
| else { | |
| var ieXHR = xhr; | |
| return ieXHR.responseText; | |
| } | |
| } | |
| } | |
| } | |
| exports.getXHRResponse = getXHRResponse; | |
| //# sourceMappingURL=getXHRResponse.js.map |
Xet Storage Details
- Size:
- 814 Bytes
- Xet hash:
- e7ee4a58064adfae02660a4d591ffb4edf06be0c3db6d2f7bc6459a61ad260f5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.