Updated the files.
This commit is contained in:
parent
1553e6b971
commit
753967d4f5
23418 changed files with 3784666 additions and 0 deletions
30
my-app/node_modules/rxjs/dist/cjs/internal/ajax/getXHRResponse.js
generated
vendored
Executable file
30
my-app/node_modules/rxjs/dist/cjs/internal/ajax/getXHRResponse.js
generated
vendored
Executable file
|
@ -0,0 +1,30 @@
|
|||
"use strict";
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue