return text.slice(0, index+1); 
var text = collapseWhitespace(bits[1]) + bits[0]; var index = text.length - 1; while (isWhiteSpace(text[index])) { index--; }  return text.slice(0, index + 1); 
Utils.getText = function(element) {	var bits = getTextFromNode(element, "", "", element.tagName == "PRE");		var text = collapseWhitespace(bits[1]) + bits[0];	var index = text.length - 1;	while (isWhiteSpace(text[index])) {		index--;	}	return text.slice(0, index+1);};
4983	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4983/3d58fefd2379fe19ae5bc4540e46171c91481d00/utils.js/buggy/firefox/src/extension/components/utils.js