lib/packages/core-classes.js
function(start_index, count) {

		if (count <= 0) Lava.t("Invalid item count supplied for removeRange");
		if (start_index + count >= this._count + 1) Lava.t("Index is out of range");

		var removed_uids = this._data_uids.splice(start_index, count),
			removed_values = this._data_values.splice(start_index, count),
			removed_names = this._data_names.splice(start_index, count);

		this._setLength(this._count - count);

		this._fire('items_removed', {
			uids: removed_uids,
			values: removed_values,
			names: removed_names
		});

		this._fire('collection_changed');

		return removed_values;

	}
function(start_index, count) {

		if (count <= 0) Lava.t("Invalid item count supplied for removeRange");
		if (start_index + count >= this._count + 1) Lava.t("Index is out of range");

		var removed_uids = this._data_uids.splice(start_index, count),
			removed_values = this._data_values.splice(start_index, count),
			removed_names = this._data_names.splice(start_index, count);

		this._setLength(this._count - count);

		this._fire('items_removed', {
			uids: removed_uids,
			values: removed_values,
			names: removed_names
		});

		this._fire('collection_changed');

		return removed_values;

	}
function ( start_index , count ) { if ( count <= 0 ) Lava . t ( "Invalid item count supplied for removeRange" ) ; if ( start_index + count >= this . _count + 1 ) Lava . t ( "Index is out of range" ) ; var removed_uids = this . _data_uids . splice ( start_index , count ) , removed_values = this . _data_values . splice ( start_index , count ) , removed_names = this . _data_names . splice ( start_index , count ) ; this . _setLength ( this . _count - count ) ; this . _fire ( 'items_removed' , { uids : removed_uids , values : removed_values , names : removed_names } ) ; this . _fire ( 'collection_changed' ) ; return removed_values ; }
Remove range of indices from collection and return removed values
@param {number} start_index
@param {number} count
@returns {Array} Removed values
Remove range of indices from collection and return removed values