   if(!cssStr || !URI){ return; } var match, str = "", url = "", urlChrs = "[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+"; var regex = new RegExp('url\\(\\s*('+urlChrs+')\\s*\\)'); var regexProtocol = /(file|https?|ftps?):\/\ regexTrim = new RegExp("^[\\s]*(['\"]?)("+urlChrs+")\\1[\\s]*?$"); if(dojo.render.html.ie55 || dojo.render.html.ie60){ var regexIe = new RegExp("AlphaImageLoader\\((.*)src\=['\"]("+urlChrs+")['\"]");   while(match = regexIe.exec(cssStr)){ url = match[2].replace(regexTrim, "$2"); if(!regexProtocol.exec(url)){ url = (new dojo.uri.Uri(URI, url).toString()); } str += cssStr.substring(0, match.index) + "AlphaImageLoader(" + match[1] + "src='" + url + "'"; cssStr = cssStr.substr(match.index + match[0].length); } cssStr = str + cssStr; str = ""; } 
   if(!cssStr || !URI){ return; } var match, str = "", url = "", urlChrs = "[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+"; var regex = new RegExp('url\\(\\s*('+urlChrs+')\\s*\\)'); var regexProtocol = /(file|https?|ftps?):\/\ regexTrim = new RegExp("^[\\s]*(['\"]?)("+urlChrs+")\\1[\\s]*?$"); if(dojo.render.html.ie55 || dojo.render.html.ie60){ var regexIe = new RegExp("AlphaImageLoader\\((.*)src\=['\"]("+urlChrs+")['\"]");   while(match = regexIe.exec(cssStr)){ url = match[2].replace(regexTrim, "$2"); if(!regexProtocol.exec(url)){ url = (new dojo.uri.Uri(URI, url).toString()); } str += cssStr.substring(0, match.index) + "AlphaImageLoader(" + match[1] + "src='" + url + "'"; cssStr = cssStr.substr(match.index + match[0].length); } cssStr = str + cssStr; str = ""; } 
dojo.html.fixPathsInCssText = function(/* string */cssStr, /* string */URI){  //  summary  // usage: cssText comes from dojoroot/src/widget/templates/Foobar.css  //  it has .dojoFoo { background-image: url(images/bar.png);} then uri should point to dojoroot/src/widget/templates/  if(!cssStr || !URI){ return; }  var match, str = "", url = "", urlChrs = "[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+";  var regex = new RegExp('url\\(\\s*('+urlChrs+')\\s*\\)');  var regexProtocol = /(file|https?|ftps?):\/\//;  regexTrim = new RegExp("^[\\s]*(['\"]?)("+urlChrs+")\\1[\\s]*?$");  if(dojo.render.html.ie55 || dojo.render.html.ie60){    var regexIe = new RegExp("AlphaImageLoader\\((.*)src\=['\"]("+urlChrs+")['\"]");    // TODO: need to decide how to handle relative paths and AlphaImageLoader see #1441    // current implementation breaks on build with intern_strings    while(match = regexIe.exec(cssStr)){      url = match[2].replace(regexTrim, "$2");      if(!regexProtocol.exec(url)){        url = (new dojo.uri.Uri(URI, url).toString());      }      str += cssStr.substring(0, match.index) + "AlphaImageLoader(" + match[1] + "src='" + url + "'";      cssStr = cssStr.substr(match.index + match[0].length);    }    cssStr = str + cssStr;    str = "";  }  while(match = regex.exec(cssStr)){    url = match[1].replace(regexTrim, "$2");    if(!regexProtocol.exec(url)){      url = (new dojo.uri.Uri(URI, url).toString());    }    str += cssStr.substring(0, match.index) + "url(" + url + ")";    cssStr = cssStr.substr(match.index + match[0].length);  }  return str + cssStr;  //  string}
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