rem: for(var i = 0; i < this.providers.length; i++) { providerToUse = this.providers[i]; if(providerToUse.isAvailable()){ 
add: for(var i = 0; i < this._providers.length; i++){ providerToUse = this._providers[i];    if(dojo.lang.isUndefined(djConfig["forceStorageProvider"]) == false && providerToUse.getType() == djConfig["forceStorageProvider"]){   providerToUse.isAvailable(); break; }else if(dojo.lang.isUndefined(djConfig["forceStorageProvider"]) == true && providerToUse.isAvailable()){ 
context: 	this.autodetect = function(){		// summary:		//		Autodetects the best possible persistent storage provider		//		available on this platform. 		if(this.initialized == true) // already finished			return;					// go through each provider, seeing if it can be used		var providerToUse = null;		for(var i = 0; i < this.providers.length; i++) {			providerToUse = this.providers[i];			if(providerToUse.isAvailable()){				break;			}		}					if(providerToUse == null){ // no provider available			this.initialized = true;			this.available = false;			this.currentProvider = null;			dojo.raise("No storage provider found for this platform");		}					// create this provider and copy over it's properties		this.currentProvider = providerToUse;	  	for(var i in providerToUse){	  		dojo.storage[i] = providerToUse[i];		}		dojo.storage.manager = this;				// have the provider initialize itself		dojo.storage.initialize();				this.initialized = true;		this.available = true;	};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/storage.js/clean/www/resources/dojo-ajax/src/storage.js