   var count = 0; if(trim) { while(srcNode.hasChildNodes() && srcNode.firstChild.nodeType == dojo.dom.TEXT_NODE) { srcNode.removeChild(srcNode.firstChild); } while(srcNode.hasChildNodes() && srcNode.lastChild.nodeType == dojo.dom.TEXT_NODE) { srcNode.removeChild(srcNode.lastChild); } } while(srcNode.hasChildNodes()){ destNode.appendChild(srcNode.firstChild); count++; } return count; 
   var count = 0; if(trim) { while(srcNode.hasChildNodes() && srcNode.firstChild.nodeType == dojo.dom.TEXT_NODE) { srcNode.removeChild(srcNode.firstChild); } while(srcNode.hasChildNodes() && srcNode.lastChild.nodeType == dojo.dom.TEXT_NODE) { srcNode.removeChild(srcNode.lastChild); } } while(srcNode.hasChildNodes()){ destNode.appendChild(srcNode.firstChild); count++; } return count; 
dojo.dom.moveChildren = function(/*Element*/srcNode, /*Element*/destNode, /*boolean?*/trim){  //  summary:  //    Moves children from srcNode to destNode and returns the count of  //    children moved; will trim off text nodes if trim == true  var count = 0;  if(trim) {    while(srcNode.hasChildNodes() &&      srcNode.firstChild.nodeType == dojo.dom.TEXT_NODE) {      srcNode.removeChild(srcNode.firstChild);    }    while(srcNode.hasChildNodes() &&      srcNode.lastChild.nodeType == dojo.dom.TEXT_NODE) {      srcNode.removeChild(srcNode.lastChild);    }  }  while(srcNode.hasChildNodes()){    destNode.appendChild(srcNode.firstChild);    count++;  }  return count; //  number}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js