forked from Cavemanon/cavepaintings
move ext-specific js into that ext
This commit is contained in:
8
ext/setup/script.js
Normal file
8
ext/setup/script.js
Normal file
@ -0,0 +1,8 @@
|
||||
function getHTTPObject() {
|
||||
if (window.XMLHttpRequest){
|
||||
return new XMLHttpRequest();
|
||||
}
|
||||
else if(window.ActiveXObject){
|
||||
return new ActiveXObject("Microsoft.XMLHTTP");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user