add: if (!batch.errorHandler) batch.errorHandler = DWREngine._errorHandler; if (!batch.warningHandler) batch.warningHandler = DWREngine._warningHandler; if (!batch.timeout) batch.timeout = DWREngine._timeout; 
context: DWREngine.endBatch = function() {  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 (!batch.preHook) batch.preHook = DWREngine._preHook;  if (!batch.postHook) batch.postHook = DWREngine._postHook;  if (!batch.method) batch.method = DWREngine._method;  if (!batch.verb) batch.verb = DWREngine._verb;  if (!batch.asynchronous) batch.asynchronous = DWREngine._asynchronous;  // 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;    }  }  DWREngine._batch = null;};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/6a3724f890ede63e2e729a28703e23fa4ffaa684/engine.js/buggy/java/uk/ltd/getahead/dwr/engine.js