} return text; }; 
dojo.string.normalizeNewlines = function(/*string*/text, /*string? (\n or \r)*/newlineChar){// summary://  Changes occurences of CR and LF in text to CRLF, or if newlineChar is provided as '\n' or '\r',//  substitutes newlineChar for occurrences of CR/LF and CRLF  if (newlineChar == "\n"){    text = text.replace(/\r\n/g, "\n");    text = text.replace(/\r/g, "\n");  } else if (newlineChar == "\r"){    text = text.replace(/\r\n/g, "\r");    text = text.replace(/\n/g, "\r");  }else{    text = text.replace(/([^\r])\n/g, "$1\r\n").replace(/\r([^\n])/g, "\r\n$1");  }  return text; // string}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js