|
|
|
@ -10357,17 +10357,24 @@
|
|
|
|
|
function createStandardXHR() { |
|
|
|
|
try { |
|
|
|
|
return new window.XMLHttpRequest(); |
|
|
|
|
} catch ( e ) {} |
|
|
|
|
} catch (e) { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function createActiveXHR() { |
|
|
|
|
try { |
|
|
|
|
return new window.ActiveXObject("Microsoft.XMLHTTP"); |
|
|
|
|
} catch ( e ) {} |
|
|
|
|
} catch (e) { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
|
|
|
|
|
jQuery.ajaxPrefilter(function (s) { |
|
|
|
|
if (s.crossDomain) { |
|
|
|
|
s.contents.script = false; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// Install script dataType
|
|
|
|
|
jQuery.ajaxSetup({ |
|
|
|
|