dojo.string.pad = function(/* string */str, /* integer */len/*=2*/, /* string */ c/*='0'*/, /* integer */dir/*=1*/) {    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(str,len,c,dir){ var out=String(str); if(!c){ c="0"; 
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/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js