root/trunk/PluginManager/mt-static/plugins/PluginManager/js/app.js @ 1

Revision 1, 0.5 kB (checked in by breese, 4 years ago)

added PluginManager?

Line 
1function getHTTPObject() {
2  var xmlhttp;
3  /*@cc_on
4  @if (@_jscript_version >= 5)
5    try {
6      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
7    } catch (e) {
8      try {
9        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
10      } catch (E) {
11        xmlhttp = false;
12      }
13    }
14  @else
15  xmlhttp = false;
16  @end @*/
17  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
18    try {
19      xmlhttp = new XMLHttpRequest();
20    } catch (e) {
21      xmlhttp = false;
22    }
23  }
24  return xmlhttp;
25}
26var clients = new Array();
Note: See TracBrowser for help on using the browser.