for(var x=0; x<result.length; x++){ var curr = result[x]; if(curr.constructor == Array){ dojo.hostenv.loadModule.apply(dojo.hostenv, curr); }else{ dojo.hostenv.loadModule(curr); } } 
for(var x=0; x<result.length; x++){ var curr = result[x]; if(curr.constructor == Array){ dojo.hostenv.loadModule.apply(dojo.hostenv, curr); }else{ dojo.hostenv.loadModule(curr); } } 
dojo.kwCompoundRequire = function(/*Object containing Arrays*/modMap){// description://	This method taks a "map" of arrays which one can use to optionally load dojo//	modules. The map is indexed by the possible dojo.hostenv.name_ values, with//	two additional values: "default" and "common". The items in the "default"//	array will be loaded if none of the other items have been choosen based on//	the hostenv.name_ item. The items in the "common" array will _always_ be//	loaded, regardless of which list is chosen.  Here's how it's normally//	called://	//	dojo.kwCompoundRequire({//		browser: [//			["foo.bar.baz", true, true], // an example that passes multiple args to loadModule()//			"foo.sample.*",//			"foo.test,//		],//		default: [ "foo.sample.*" ],//		common: [ "really.important.module.*" ]//	});	var common = modMap["common"]||[];	var result = modMap[dojo.hostenv.name_] ? common.concat(modMap[dojo.hostenv.name_]||[]) : common.concat(modMap["default"]||[]);	for(var x=0; x<result.length; x++){		var curr = result[x];		if(curr.constructor == Array){			dojo.hostenv.loadModule.apply(dojo.hostenv, curr);		}else{			dojo.hostenv.loadModule(curr);		}	}}
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