   var out = String(str); if(!c) { c = '0'; } if(!dir) { dir = 1; } while(out.length < len) { if(dir > 0) { out = c + out; } else { out += c; } } return out; 
   var out = String(str); if(!c) { c = '0'; } if(!dir) { dir = 1; } while(out.length < len) { if(dir > 0) { out = c + out; } else { out += c; } } return out; 
dojo.string.pad = function(/* string */str, /* integer */len/*=2*/, /* string */ c/*='0'*/, /* integer */dir/*=1*/) {  //  summary  //  Pad 'str' to guarantee that it is at least 'len' length with the character 'c' at either the  //  start (dir=1) or end (dir=-1) of the string  var out = String(str);  if(!c) {    c = '0';  }  if(!dir) {    dir = 1;  }  while(out.length < len) {    if(dir > 0) {      out = c + out;    } else {      out += c;    }  }  return out; //  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