lib/collection/index.js
function (index, count) {
    var newItems = Array.prototype.slice.call(arguments, 2),
    oldItems     = this.source.splice.apply(this.source, arguments);

    this._updateInfo();

    // DEPRECATED
    this.emit("replace", newItems, oldItems, index);
    this.emit("update", { insert: newItems, remove: oldItems });
  }
function (index, count) {
    var newItems = Array.prototype.slice.call(arguments, 2),
    oldItems     = this.source.splice.apply(this.source, arguments);

    this._updateInfo();

    // DEPRECATED
    this.emit("replace", newItems, oldItems, index);
    this.emit("update", { insert: newItems, remove: oldItems });
  }
function ( index , count ) { var newItems = Array . prototype . slice . call ( arguments , 2 ) , oldItems = this . source . splice . apply ( this . source , arguments ) ; this . _updateInfo ( ) ; // DEPRECATED this . emit ( "replace" , newItems , oldItems , index ) ; this . emit ( "update" , { insert : newItems , remove : oldItems } ) ; }
Removes N Number of items
@method splice
@param {Number} index start index
@param {Number} count number of items to remove
Removes N Number of items