   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/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js