           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/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js