dojo.lang.map = function(/*Array*/arr, /*Object|Function*/obj, /*Function?*/unary_func){ var isString = dojo.lang.isString(arr); if(isString){  arr = arr.split(""); } if(dojo.lang.isFunction(obj)&&(!unary_func)){ unary_func = obj; obj = dj_global; }else if(dojo.lang.isFunction(obj) && unary_func){  var tmpObj = obj; obj = unary_func; unary_func = tmpObj; } if(Array.map){ var outArr = Array.map(arr, unary_func, obj); }else{ var outArr = []; for(var i=0;i<arr.length;++i){ outArr.push(unary_func.call(obj, arr[i])); } } if(isString) { return outArr.join(""); } else { return outArr; } 
dojo.lang.map=function(arr,obj,_304){ var _305=dojo.lang.isString(arr); if(_305){ arr=arr.split(""); 
dojo.lang.map = function(/*Array*/arr, /*Object|Function*/obj, /*Function?*/unary_func){  var isString = dojo.lang.isString(arr);  if(isString){    // arr: String    arr = arr.split("");  }  if(dojo.lang.isFunction(obj)&&(!unary_func)){    unary_func = obj;    obj = dj_global;  }else if(dojo.lang.isFunction(obj) && unary_func){    // ff 1.5 compat    var tmpObj = obj;    obj = unary_func;    unary_func = tmpObj;  }  if(Array.map){    var outArr = Array.map(arr, unary_func, obj);  }else{    var outArr = [];    for(var i=0;i<arr.length;++i){      outArr.push(unary_func.call(obj, arr[i]));    }  }  if(isString) {    return outArr.join(""); // String  } else {    return outArr; // Array  }}
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