move ext-specific js into that ext

This commit is contained in:
Shish
2018-11-05 22:59:53 +00:00
parent b2f10ea5ab
commit 9d3f4ea4b3
7 changed files with 65 additions and 82 deletions

8
ext/setup/script.js Normal file
View File

@ -0,0 +1,8 @@
function getHTTPObject() {
if (window.XMLHttpRequest){
return new XMLHttpRequest();
}
else if(window.ActiveXObject){
return new ActiveXObject("Microsoft.XMLHTTP");
}
}