rem:  var reply = "Object:{"; var element; for (element in this)  { if (element != "dwrSerialize") { batch.paramCount++; var childName = "c" + DWREngine._batch.map.callCount + "-e" + batch.paramCount; DWREngine._serializeAll(batch, referto, this[element], childName); 
add: if (reply.substring(reply.length - 2) == ", ") { reply = reply.substring(0, reply.length - 2); } reply += "}"; 
context: DWREngine._serializeObject = function(batch, referto, data, name) {    var ref = DWREngine._lookup(referto, this, name);    if (ref) return ref;    if (data.nodeName) {        return DWREngine._serializeXml(batch, referto, data, name);    }    // treat objects as an associative arrays    var reply = "Object:{";    var element;    for (element in this)  {        if (element != "dwrSerialize") {            batch.paramCount++;            var childName = "c" + DWREngine._batch.map.callCount + "-e" + batch.paramCount;            DWREngine._serializeAll(batch, referto, this[element], childName);            reply += encodeURIComponent(element);            reply += ":reference:";            reply += childName;            reply += ", ";        }    }    if (reply.substring(reply.length - 2) == ", ") {        reply = reply.substring(0, reply.length - 2);    }    reply += "}";    return reply;};
meta: 266	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/769a5807f342d8541951d74937d724ab38fcafe0/engine.js/buggy/java/uk/ltd/getahead/dwr/engine.js