rem: DWREngine._batches[DWREngine._batches.length] = batch; 
context: DWREngine.endBatch = function(options) {  var batch = DWREngine._batch;  if (batch == null) {    DWREngine._handleError("No batch in progress.");    return;  }  // Merge the global batch level properties into the batch meta data  if (options && options.preHook) batch.preHooks.unshift(options.preHook);  if (options && options.postHook) batch.postHooks.push(options.postHook);  if (DWREngine._preHook) batch.preHooks.unshift(DWREngine._preHook);  if (DWREngine._postHook) batch.postHooks.push(DWREngine._postHook);  if (batch.method == null) batch.method = DWREngine._method;  if (batch.verb == null) batch.verb = DWREngine._verb;  if (batch.async == null) batch.async = DWREngine._async;  if (batch.timeout == null) batch.timeout = DWREngine._timeout;  batch.completed = false;  // We are about to send so this batch should not be globally visible  DWREngine._batch = null;  // If we are in ordered mode, then we don't send unless the list of sent  // items is empty  if (!DWREngine._ordered) {    DWREngine._sendData(batch);    DWREngine._batches[DWREngine._batches.length] = batch;  }  else {    if (DWREngine._batches.length == 0) {      // We aren't waiting for anything, go now.      DWREngine._sendData(batch);      DWREngine._batches[DWREngine._batches.length] = batch;    }    else {      // Push the batch onto the waiting queue      DWREngine._batchQueue[DWREngine._batchQueue.length] = batch;    }  }};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/dff4db1699c0156646ef9edd075b7cd3d03d398b/engine.js/clean/java/org/directwebremoting/engine.js