rem: if (!self._containsValue(candidateItem, key, value, ignoreCase)){ 
add: if (!self._containsValue(candidateItem, key, value, regexpList[key])){ 
context: 	_fetchItems: function(	/* Object */ keywordArgs, 							/* Function */ findCallback, 							/* Function */ errorCallback){		//	summary: 		//		See dojo.data.util.simpleFetch.fetch()		var self = this;		var filter = function(requestArgs, arrayOfAllItems){			var items = null;			if(requestArgs.query){				var ignoreCase = requestArgs.queryOptions ? requestArgs.queryOptions.ignoreCase : false; 				items = [];				for(var i = 0; i < arrayOfAllItems.length; ++i){					var match = true;					var candidateItem = arrayOfAllItems[i];					for(var key in requestArgs.query) {						var value = requestArgs.query[key];						if (!self._containsValue(candidateItem, key, value, ignoreCase)){							match = false;						}					}					if(match){						items.push(candidateItem);					}				}				findCallback(items, requestArgs);			}else{				// We want a copy to pass back in case the parent wishes to sort the array.  We shouldn't allow resort 				// of the internal list so that multiple callers can get listsand sort without affecting each other.				if(self._arrayOfAllItems.length> 0){					items = self._arrayOfAllItems.slice(0,self._arrayOfAllItems.length); 				}				findCallback(items, requestArgs);			}		};		if(this._loadFinished){			filter(keywordArgs, this._arrayOfAllItems);		}else{			if(this._jsonFileUrl){				var getArgs = {						url: self._jsonFileUrl, 						handleAs: "json-comment-optional"					};				var getHandler = dojo.xhrGet(getArgs);				getHandler.addCallback(function(data){					// console.debug(dojo.toJson(data));					self._loadFinished = true;					try{						self._arrayOfAllItems = self._getItemsFromLoadedData(data);						filter(keywordArgs, self._arrayOfAllItems);					}catch(e){						errorCallback(e, keywordArgs);					}				});				getHandler.addErrback(function(error){					errorCallback(error, keywordArgs);				});			}else if(this._jsonData){				try{					this._loadFinished = true;					this._arrayOfAllItems = this._getItemsFromLoadedData(this._jsonData);					this._jsonData = null;					filter(keywordArgs, this._arrayOfAllItems);				}catch(e){					errorCallback(e, keywordArgs);				}			}else{				errorCallback(new Error("dojo.data.JsonItemStore: No JSON source data was provided as either URL or a nested Javascript object."), keywordArgs);			}		}	},
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/868a164c25761e050a980bb34cc875e523031490/JsonItemStore.js/buggy/data/JsonItemStore.js