           var isString = dojo.lang.isString(arr); if(isString){ /*arr: String*/arr = arr.split(""); } var outArr; if(Array.filter){ outArr = Array.filter(arr, callback, thisObject); }else{ if(!thisObject){ if(arguments.length >= 3){ dojo.raise("thisObject doesn't exist!"); } thisObject = dj_global; } 
           var isString = dojo.lang.isString(arr); if(isString){ /*arr: String*/arr = arr.split(""); } var outArr; if(Array.filter){ outArr = Array.filter(arr, callback, thisObject); }else{ if(!thisObject){ if(arguments.length >= 3){ dojo.raise("thisObject doesn't exist!"); } thisObject = dj_global; } 
  filter: function(/*Array*/arr, /*Function*/callback, /*Object?*/thisObject){    // summary:    //    returns a new Array with those items from arr that match the    //    condition implemented by callback.thisObject may be used to    //    scope the call to callback. The function signature is derived    //    from the JavaScript 1.6 Array.filter() function, although    //    special accomidation is made in our implementation for strings.    //    More information on the JS 1.6 API can be found here:    //      http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:filter    // examples:    //    dojo.lang.some([1, 2, 3, 4], function(item){ return item>1; });    //    // returns [2, 3, 4]    var isString = dojo.lang.isString(arr);    if(isString){ /*arr: String*/arr = arr.split(""); }    var outArr;    if(Array.filter){      outArr = Array.filter(arr, callback, thisObject);    }else{      if(!thisObject){        if(arguments.length >= 3){ dojo.raise("thisObject doesn't exist!"); }        thisObject = dj_global;      }      outArr = [];      for(var i = 0; i < arr.length; i++){        if(callback.call(thisObject, arr[i], i, arr)){          outArr.push(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