rem: DWREngine._cometBatch = null; setTimeout("DWREngine._poll()", pause); 
add: dwr.engine._cometBatch = null; setTimeout("dwr.engine._poll()", pause); 
context: DWREngine._poll = function(overridePath) {  if (!DWREngine._reverseAjax) return;  // Get a unique ID for this call  var callId = DWREngine._nextCallId++;  // Create a batch object that describes how we are to call the server  var batch = {    map:{      id:callId, callCount:1,      httpSessionId:DWREngine._getJSessionId(),      scriptSessionId:DWREngine._getScriptSessionId(),      page:window.location.pathname    },    rpcType:DWREngine._pollType, isPoll:true, httpMethod:"POST",    async:true, headers:{}, callIds:[ callId ], paramCount:0,    path:(overridePath) ? overridePath : DWREngine._defaultPath,    preHooks:[], postHooks:[], timeout:0  };  if (window.XMLHttpRequest != null) {    // Mozilla case where XHR.responseText filled as call proceeds    batch.map.partialResponse = "true";  }  else {    // The IE case where XHR.responseText is not filled until call is closed    batch.map.partialResponse = "false";  }  // Create an entry in the handlers map for what happens when the reply arrives  batch.callIds[callId] = {    callback:function(pause) {      DWREngine._cometBatch = null;      setTimeout("DWREngine._poll()", pause);    }  };  // Send the data  DWREngine._sendData(batch);  if (batch.map.partialResponse == "true") {    DWREngine._cometBatch = batch;    DWREngine._checkCometPoll();  }};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/3edb5a1fd9763d1db91f61d8efca822206f14560/engine.js/clean/java/org/directwebremoting/engine.js