mirror of
https://github.com/tenrok/axios.git
synced 2026-06-05 16:42:32 +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;
|
||||
|
||||
// For IE 8/9 CORS support
|
||||
if(config.xDomain && (window && window.XDomainRequest)){
|
||||
if(config.xDomain && window.XDomainRequest){
|
||||
adapter = window.XDomainRequest;
|
||||
loadEvent = 'onload';
|
||||
xDomain = true;
|
||||
|
||||
Reference in New Issue
Block a user