rem: if (DWREngine._batchQueue.length != 0) { var sendbatch = DWREngine._batchQueue.shift(); DWREngine._sendData(sendbatch); 
add: if (dwr.engine._batchQueue.length != 0) { var sendbatch = dwr.engine._batchQueue.shift(); dwr.engine._sendData(sendbatch); 
context: DWREngine._clearUp = function(batch) {  if (batch.completed) {    DWREngine._handleError(null, { name:"dwrengine.doubleComplete", message:"Double complete" });    return;  }  // IFrame tidyup  if (batch.div) batch.div.parentNode.removeChild(batch.div);  if (batch.iframe) {    // If this is a poll frame then stop comet polling    if (batch.iframe == DWREngine._pollFrame) DWREngine._pollFrame = null;    batch.iframe.parentNode.removeChild(batch.iframe);  }  if (batch.form) batch.form.parentNode.removeChild(batch.form);  // XHR tidyup: avoid IE handles increase  if (batch.req) {    // If this is a poll frame then stop comet polling    if (batch.req == DWREngine._pollReq) DWREngine._pollReq = null;    delete batch.req;  }  for (var i = 0; i < batch.postHooks.length; i++) {    batch.postHooks[i]();  }  batch.postHooks = null;  // TODO: There must be a better way???  delete DWREngine._batches[batch.map.batchId];  DWREngine._batchesLength--;  //for (var i = 0; i < DWREngine._batches.length; i++) {  //  if (DWREngine._batches[i] == batch) {  //    DWREngine._batches.splice(i, 1);  //    break;  //  }  //}  batch.completed = true;  // If there is anything on the queue waiting to go out, then send it.  // We don't need to check for ordered mode, here because when ordered mode  // gets turned off, we still process *waiting* batches in an ordered way.  if (DWREngine._batchQueue.length != 0) {    var sendbatch = DWREngine._batchQueue.shift();    DWREngine._sendData(sendbatch);  }};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/3edb5a1fd9763d1db91f61d8efca822206f14560/engine.js/clean/java/org/directwebremoting/engine.js