rem: if(dojo.hostenv.findModule(translationPackage)){return;} 
add: localizedBundle = dojo.hostenv.findModule(translationPackage); 
context: dojo.requireLocalization = function(/*String*/moduleName, /*String*/bundleName, /*String?*/locale){// summary://	Declares translated resources and loads them if necessary, in the same style as dojo.require.//	Contents of the resource bundle are typically strings, but may be any name/value pair,//	represented in JSON format.  See also dojo.i18n.getLocalization.//// moduleName: name of the package containing the "nls" directory in which the bundle is found// bundleName: bundle name, i.e. the filename without the '.js' suffix// locale: the locale to load (optional)  By default, the browser's user locale as defined by dojo.locale//// description://	Load translated resource bundles provided underneath the "nls" directory within a package.//	Translated resources may be located in different packages throughout the source tree.  For example,//	a particular widget may define one or more resource bundles, structured in a program as follows,//	where moduleName is mycode.mywidget and bundleNames available include bundleone and bundletwo://	...//	mycode///	 mywidget///	  nls///	   bundleone.js (the fallback translation, English in this example)//	   bundletwo.js (also a fallback translation)//	   de///	    bundleone.js//	    bundletwo.js//	   de-at///	    bundleone.js//	   en///	    (empty; use the fallback translation)//	   en-us///	    bundleone.js//	   en-gb///	    bundleone.js//	   es///	    bundleone.js//	    bundletwo.js//	  ...etc//	...//	Each directory is named for a locale as specified by RFC 3066, (http://www.ietf.org/rfc/rfc3066.txt),//	normalized in lowercase.  Note that the two bundles in the example do not define all the same variants.//	For a given locale, bundles will be loaded for that locale and all more general locales above it, including//	a fallback at the root directory.  For example, a declaration for the "de-at" locale will first//	load nls/de-at/bundleone.js, then nls/de/bundleone.js and finally nls/bundleone.js.  The data will//	be flattened into a single Object so that lookups will follow this cascading pattern.  An optional build//	step can preload the bundles to avoid data redundancy and the multiple network hits normally required to//	load these resources.	dojo.hostenv.preloadLocalizations(); 	var bundlePackage = [moduleName, "nls", bundleName].join(".");//NOTE: When loading these resources, the packaging does not match what is on disk.  This is an// implementation detail, as this is just a private data structure to hold the loaded resources.// e.g. tests/hello/nls/en-us/salutations.js is loaded as the object tests.hello.nls.salutations.en_us={...}// The structure on disk is intended to be most convenient for developers and translators, but in memory// it is more logical and efficient to store in a different order.  Locales cannot use dashes, since the// resulting path will not evaluate as valid JS, so we translate them to underscores.	var bundle = dojo.hostenv.findModule(bundlePackage);	if(bundle){		if(djConfig.localizationComplete && bundle._built){return;}		var jsLoc = dojo.hostenv.normalizeLocale(locale).replace('-', '_');		var translationPackage = bundlePackage+"."+jsLoc;		if(dojo.hostenv.findModule(translationPackage)){return;}	}	bundle = dojo.hostenv.startPackage(bundlePackage);	var syms = dojo.hostenv.getModuleSymbols(moduleName);	var modpath = syms.concat("nls").join("/");	var parent;	dojo.hostenv.searchLocalePath(locale, false, function(loc){		var jsLoc = loc.replace('-', '_');		var translationPackage = bundlePackage + "." + jsLoc;		var loaded = false;		if(!dojo.hostenv.findModule(translationPackage)){			// Mark loaded whether it's found or not, so that further load attempts will not be made			dojo.hostenv.startPackage(translationPackage);			var module = [modpath];			if(loc != "ROOT"){module.push(loc);}			module.push(bundleName);			var filespec = module.join("/") + '.js';			loaded = dojo.hostenv.loadPath(filespec, null, function(hash){				// Use singleton with prototype to point to parent bundle, then mix-in result from loadPath				var clazz = function(){};				clazz.prototype = parent;				bundle[jsLoc] = new clazz();				for(var j in hash){ bundle[jsLoc][j] = hash[j]; }			});		}else{			loaded = true;		}		if(loaded && bundle[jsLoc]){			parent = bundle[jsLoc];		}else{			bundle[jsLoc] = parent;		}	});};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/loader.js/buggy/www/resources/dojo-ajax/src/loader.js