rem: if(!this.isItem(item)) { item = this.items[item]; } if(!item) { throw new Error("addItemsAt: item doesn't exist"); } var idx = this._find(item); if(idx > 0 && before) { idx--; } for(var i = 2; i < arguments.length; i++) { if(!this.isItem(arguments[i])) { this.items.splice(idx++, 0, arguments[i]); 
add: if(!this.isItem(item)){ item = this.items[item]; 
context: 	addItemsAt: function(item, before /* ... */) {		if(this.items.length == 0) { // work for empy case			return this.addItems(dojo.lang.toArray(arguments, 2));		}		if(!this.isItem(item)) {			item = this.items[item];		}		if(!item) { throw new Error("addItemsAt: item doesn't exist"); }		var idx = this._find(item);		if(idx > 0 && before) { idx--; }		for(var i = 2; i < arguments.length; i++) {			if(!this.isItem(arguments[i])) {				this.items.splice(idx++, 0, arguments[i]);			}		}	},
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