rem: removeItem: function(item) {  var idx = this._find(item); if(idx > -1) { this.items.splice(idx, 1); }     idx = this._find(item, true); if(idx > -1) { this.selection.splice(idx, 1); } }, 
add: removeItem: function(/*Object*/item){  var idx = this._find(item); if(idx > -1) { this.items.splice(idx, 1); }     idx = this._find(item, true); if(idx > -1) { this.selection.splice(idx, 1); } }, 
context: 	removeItem: function(item) {		// remove item		var idx = this._find(item);		if(idx > -1) {			this.items.splice(idx, 1);		}		// remove from selection		// FIXME: do we call deselect? I don't think so because this isn't how		// you usually want to deselect an item. For example, if you deleted an		// item, you don't really want to deselect it -- you want it gone. -DS		idx = this._find(item, true);		if(idx > -1) {			this.selection.splice(idx, 1);		}	},
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/Selection.js/clean/www/resources/dojo-ajax/src/selection/Selection.js