           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; } }, 
           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; } }, 
  map: function(/*Array*/arr, /*Object|Function*/obj, /*Function?*/unary_func){    // summary:    //    returns a new array constituded from the return values of    //    passing each element of arr into unary_func. The obj parameter    //    may be passed to enable the passed function to be called in    //    that scope. In environments that support JavaScript 1.6, this    //    function is a passthrough to the built-in map() function    //    provided by Array instances. For details on this, see:    //      http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:map    // examples:    //    dojo.lang.map([1, 2, 3, 4], function(item){ return item+1 });    //    // returns [2, 3, 4, 5]    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/65ae7e8768a77997b7894e274bc242069a1cb027/struts_dojo.js.uncompressed.js/clean/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js