rem: return 1; 
add: return 1; 
context: dojo.hostenv.loadUri = function(uri, cb, currentIsXDomain, module){	if(this.loadedUris[uri]){		return 1;	}	//Add the module (package) to the list of modules.	if(this.isXDomain){		//Curious: is this array going to get whacked with multiple access since scripts		//load asynchronously and may be accessing the array at the same time?		//JS is single-threaded supposedly, so it should be ok. And we don't need		//a precise ordering.		this.xdOrderedReqs.push(module);		//Add to waiting packages.		//If this is a __package__.js file, then this must be		//a package.* request (since xdomain can only work with the first		//path in a package search list. However, .* module names are not		//passed to this function, so do an adjustment here.		if(uri.indexOf("__package__") != -1){			module += ".*";		}		this.xdInFlight[module] = true;		//Increment inFlightCount		//This will stop the modulesLoaded from firing all the way.		this.inFlightCount++;						//Start timer		if(!this.xdTimer){			this.xdTimer = setInterval("dojo.hostenv.watchInFlightXDomain();", 100);		}		this.xdStartTime = (new Date()).getTime();	}	if (currentIsXDomain){		//Fix name to be a .xd.fileextension name.		var lastIndex = uri.lastIndexOf('.');		if(lastIndex <= 0){			lastIndex = uri.length - 1;		}		var xdUri = uri.substring(0, lastIndex) + ".xd";		if(lastIndex != uri.length - 1){			xdUri += uri.substring(lastIndex, uri.length);		}		//Add to script src		var element = document.createElement("script");		element.type = "text/javascript";		element.src = xdUri;		if(!this.headElement){			this.headElement = document.getElementsByTagName("head")[0];		}		this.headElement.appendChild(element);	}else{		var contents = this.getText(uri, null, true);		if(contents == null){ return 0; }				if(this.isXDomain){			var pkg = this.createXdPackage(contents);			dj_eval(pkg);		}else{			if(cb){ contents = '('+contents+')'; }			var value = dj_eval(contents);			if(cb){				cb(value);			}		}	}	//These steps are done in the non-xd loader version of this function.	//Maintain these steps to fit in with the existing system.	this.loadedUris[uri] = true;	return 1;}
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