dojo.string.escape = function(/*string*/type, /*string*/str){// summary://	Adds escape sequences for special characters according to the convention of 'type'//// type: one of xml|html|xhtml|sql|regexp|regex|javascript|jscript|js|ascii// str: the string to be escaped	var args = dojo.lang.toArray(arguments, 1);	switch(type.toLowerCase()){		case "xml":		case "html":		case "xhtml":			return dojo.string.escapeXml.apply(this, args); // string		case "sql":			return dojo.string.escapeSql.apply(this, args); // string		case "regexp":		case "regex":			return dojo.string.escapeRegExp.apply(this, args); // string		case "javascript":		case "jscript":		case "js":			return dojo.string.escapeJavaScript.apply(this, args); // string		case "ascii":			// so it's encode, but it seems useful			return dojo.string.encodeAscii.apply(this, args); // string		default:			return str; // string	}}
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