2
0
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:
Vineet Hawal
2015-10-29 15:40:45 +05:30
parent 44cccc450c
commit a768ac07cd
5 changed files with 6 additions and 1018 deletions
+2 -1007
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -8
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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;