Commit 19398213 authored by Wandenberg Peixoto's avatar Wandenberg Peixoto

using XDomainRequest as first option for IE browsers

parent 5bc59dcd
......@@ -121,14 +121,17 @@
var xhr = false;
try { xhr = new window.XMLHttpRequest(); }
catch (e1) {
try { xhr = new window.ActiveXObject("Msxml2.XMLHTTP"); }
try { xhr = new window.XDomainRequest(); }
catch (e2) {
try { xhr = new window.ActiveXObject("Microsoft.XMLHTTP"); }
try { xhr = new window.ActiveXObject("Msxml2.XMLHTTP"); }
catch (e3) {
try { xhr = new window.ActiveXObject("Microsoft.XMLHTTP"); }
catch (e4) {
xhr = false;
}
}
}
}
return xhr;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment