  var p = name.split("."); for(var i = 0; i < p.length; i++){ if(!obj[p[i]]){ return false; } obj = obj[p[i]]; } return true; 
  var p = name.split("."); for(var i = 0; i < p.length; i++){ if(!obj[p[i]]){ return false; } obj = obj[p[i]]; } return true; 
dojo.exists = function(/*Object*/obj, /*String*/name){	// summary: determine if an object supports a given method	// description: useful for longer api chains where you have to test each object in the chain	var p = name.split(".");	for(var i = 0; i < p.length; i++){		if(!obj[p[i]]){ return false; } // Boolean		obj = obj[p[i]];	}	return true; // Boolean}
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