mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
remove extra conditions
This commit is contained in:
Vendored
+2
-1007
File diff suppressed because it is too large
Load Diff
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-8
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -32,7 +32,7 @@ module.exports = function xhrAdapter(resolve, reject, config) {
|
|||||||
xDomain = false;
|
xDomain = false;
|
||||||
|
|
||||||
// For IE 8/9 CORS support
|
// For IE 8/9 CORS support
|
||||||
if(config.xDomain && (window && window.XDomainRequest)){
|
if(config.xDomain && window.XDomainRequest){
|
||||||
adapter = window.XDomainRequest;
|
adapter = window.XDomainRequest;
|
||||||
loadEvent = 'onload';
|
loadEvent = 'onload';
|
||||||
xDomain = true;
|
xDomain = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user