rem: EchoWebCore.HttpConnection.prototype.connect = function() { var usingActiveXObject = false; if (window.XMLHttpRequest) { this._xmlHttpRequest = new XMLHttpRequest(); } else if (window.ActiveXObject) { usingActiveXObject = true; this._xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP"); } else { throw "Connect failed: Cannot create XMLHttpRequest."; }  var instance = this; 
add: connect: function() { var usingActiveXObject = false; if (window.XMLHttpRequest) { this._xmlHttpRequest = new XMLHttpRequest(); } else if (window.ActiveXObject) { usingActiveXObject = true; this._xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP"); } else { throw "Connect failed: Cannot create XMLHttpRequest."; } 
context: EchoWebCore.HttpConnection.prototype.connect = function() {    var usingActiveXObject = false;    if (window.XMLHttpRequest) {        this._xmlHttpRequest = new XMLHttpRequest();    } else if (window.ActiveXObject) {        usingActiveXObject = true;        this._xmlHttpRequest = new ActiveXObject("Microsoft.XMLHTTP");    } else {        throw "Connect failed: Cannot create XMLHttpRequest.";    }    var instance = this;        // Create closure around instance.    this._xmlHttpRequest.onreadystatechange = function() {         if (!instance) {            return;        }        try {            instance._processReadyStateChange();        } finally {            if (instance._disposed) {                // Release instance reference to allow garbage collection.                instance = null;            }        }    };        this._xmlHttpRequest.open(this._method, this._url, true);    if (this._contentType && (usingActiveXObject || this._xmlHttpRequest.setRequestHeader)) {        this._xmlHttpRequest.setRequestHeader("Content-Type", this._contentType);    }    this._xmlHttpRequest.send(this._messageObject ? this._messageObject : null);};
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/4705113f80e2c9e4d43ad240349e3193f4caf648/WebCore.js/clean/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/WebCore.js