diff --git a/node_modules/axios/lib/adapters/xhr.js b/node_modules/axios/lib/adapters/xhr.js
index 76d7e7a..7e11408 100644
--- a/node_modules/axios/lib/adapters/xhr.js
+++ b/node_modules/axios/lib/adapters/xhr.js
@@ -80,7 +80,7 @@ module.exports = function xhrAdapter(config) {
if ('onloadend' in request) {
// Use onloadend if available
request.onloadend = onloadend;
} else {
}
// Listen for ready state to emulate onloadend
request.onreadystatechange = function handleLoad() {
if (!request || request.readyState !== 4) {
@@ -98,7 +98,7 @@ module.exports = function xhrAdapter(config) {
// so we should call onloadend on the next 'tick'
setTimeout(onloadend);
};
diff --git a/node_modules/axios/lib/adapters/xhr.js b/node_modules/axios/lib/adapters/xhr.js index 76d7e7a..7e11408 100644 --- a/node_modules/axios/lib/adapters/xhr.js +++ b/node_modules/axios/lib/adapters/xhr.js @@ -80,7 +80,7 @@ module.exports = function xhrAdapter(config) { if ('onloadend' in request) { // Use onloadend if available request.onloadend = onloadend;