rem: return {requires: newDeps, requiresAfter: newAfterDeps}; 
add: return {requires: newDeps, requiresAfter: newAfterDeps}; 
context: dojo.hostenv.unpackXdDependency = function(dep){	//Extract the dependency(ies).	var newDeps = null;	var newAfterDeps = null;	switch(dep[0]){		case "requireIf":		case "requireAfterIf":		case "conditionalRequire":			//First arg (dep[1]) is the test. Depedency is dep[2].			if((dep[1] === true)||(dep[1]=="common")||(dep[1] && dojo.render[dep[1]].capable)){				newDeps = [{name: dep[2], content: null}];			}			break;		case "requireAll":			//the arguments are an array, each element a call to require.			//Get rid of first item, which is "requireAll".			dep.shift();			newDeps = dep;			dojo.hostenv.flattenRequireArray(newDeps);			break;		case "kwCompoundRequire":		case "hostenv.conditionalLoadModule":			var modMap = dep[1];			var common = modMap["common"]||[];			var newDeps = (modMap[dojo.hostenv.name_]) ? common.concat(modMap[dojo.hostenv.name_]||[]) : common.concat(modMap["default"]||[]);				dojo.hostenv.flattenRequireArray(newDeps);			break;		case "require":		case "requireAfter":		case "hostenv.loadModule":			//Just worry about dep[1]			newDeps = [{name: dep[1], content: null}];			break;	}	//The requireAfterIf or requireAfter needs to be evaluated after the current package is evaluated.	if(dep[0] == "requireAfterIf"){		newAfterDeps = newDeps;		newDeps = null;	}	return {requires: newDeps, requiresAfter: newAfterDeps};}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/loader_xd.js/clean/www/resources/dojo-ajax/src/loader_xd.js