lib/SR_REST.js
function (entry) {
		if (typeof entry === 'number' && entry < entryServers.length) {
			entryServers.splice(entry, 1);
			return true;
		}
		else if (typeof entry === 'string') {	
			for (var i=0; i < entryServers.length; i++) {
				if (entryServers[i] === entry) {
					entryServers.splice(i, 1);
					SR.Log('remove entry: ' + entry + '. entries left: ' + entryServers.length);						
					return true;	
				}
			}
		}
		return false;
	}
function (entry) {
		if (typeof entry === 'number' && entry < entryServers.length) {
			entryServers.splice(entry, 1);
			return true;
		}
		else if (typeof entry === 'string') {	
			for (var i=0; i < entryServers.length; i++) {
				if (entryServers[i] === entry) {
					entryServers.splice(i, 1);
					SR.Log('remove entry: ' + entry + '. entries left: ' + entryServers.length);						
					return true;	
				}
			}
		}
		return false;
	}
function ( entry ) { if ( typeof entry === 'number' && entry < entryServers . length ) { entryServers . splice ( entry , 1 ) ; return true ; } else if ( typeof entry === 'string' ) { for ( var i = 0 ; i < entryServers . length ; i ++ ) { if ( entryServers [ i ] === entry ) { entryServers . splice ( i , 1 ) ; SR . Log ( 'remove entry: ' + entry + '. entries left: ' + entryServers . length ) ; return true ; } } } return false ; }
remove a given entry server
remove a given entry server