rem: var calls = this._inboundEvents; this._inboundEvents = [];  for (var i = 0, cnt = calls.length; i < cnt; i++) { var call = calls[i]; 
add: while (!this._postOutboundEvents && this._inboundEvents.length > 0) { var call = this._inboundEvents.shift(); 
context:     _eventLoop: function() {        if (this._comm != null) {            var timerTime = 100;                        if (this._postOutboundEvents && this._comm.isReady()) {                this._setActivityIndVisible(true);                this._postOutboundEvents = false;                var msg = this._outboundEvents.join(":");                                this._outboundEvents = [];                this._vsEventOrder = {};                this._comm.send("POST", tw_APP_URL, msg);                       }                        if (this._inboundEvents.length > 0) {                var calls = this._inboundEvents;                this._inboundEvents = [];                                for (var i = 0, cnt = calls.length; i < cnt; i++) {                    var call = calls[i];                                var obj = call.i == undefined ? (call.n == undefined ? window : call.n) : tw_Component.instances[call.i];                                                            if (obj != null) {                        if (call.s) this._autoSyncResponse = true;                         var ret = obj[call.m].apply(obj, call.a);                                                            if (call.s && this._autoSyncResponse) {                            this.sendSyncResponse(ret, true);                            timerTime = 0;                        }                    }                }                        }                this._resetTimer(timerTime);        }            },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/d0557ae5f5345da3ce7884053010b4f7be3b1f59/EventManager.js/clean/src/thinwire/render/web/resources/EventManager.js