mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-11 18:11:09 +03:00
commit
63d1dc3f1d
@ -151,9 +151,10 @@ function $() {
|
||||
var Ajax = {
|
||||
getTransport: function() {
|
||||
return Try.these(
|
||||
function() {return new ActiveXObject('Msxml2.XMLHTTP')},
|
||||
function() {return new ActiveXObject('Microsoft.XMLHTTP')},
|
||||
function() {return new XMLHttpRequest()}
|
||||
function () {return new XMLHttpRequest()},
|
||||
function () {return new ActiveXObject("Msxml2.XMLHTTP")},
|
||||
function () {return new ActiveXObject("Msxml3.XMLHTTP")},
|
||||
function () {return new ActiveXObject("Microsoft.XMLHTTP")}
|
||||
) || false;
|
||||
},
|
||||
|
||||
@ -516,4 +517,4 @@ function playSound(wav_file) {
|
||||
|
||||
function htmlescape(str) {
|
||||
return str.replace('&','&').replace('<','<').replace('>','>').replace('"','"');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user