js/core/List.js
function (items, options) {
            var removed = [];

            if (!_.isArray(items)) {
                items = [items];
            }
            var item;
            for (var i = 0; i < items.length; i++) {
                item = this.removeAt(this.indexOf(items[i]), options);
                item && removed.push(item);
            }
            return removed;
        }
function (items, options) {
            var removed = [];

            if (!_.isArray(items)) {
                items = [items];
            }
            var item;
            for (var i = 0; i < items.length; i++) {
                item = this.removeAt(this.indexOf(items[i]), options);
                item && removed.push(item);
            }
            return removed;
        }
function ( items , options ) { var removed = [ ] ; if ( ! _ . isArray ( items ) ) { items = [ items ] ; } var item ; for ( var i = 0 ; i < items . length ; i ++ ) { item = this . removeAt ( this . indexOf ( items [ i ] ) , options ) ; item && removed . push ( item ) ; } return removed ; }
Removes an Array or just one item from the list. Triggers remove events.
@param {Object|Array} items
@param {Object} options
Removes an Array or just one item from the list . Triggers remove events .