build/rekord.js
function(values)
  {
    this.length = 0;

    if ( isArray( values ) )
    {
      AP.push.apply( this, values );
    }
    else if ( isValue( values ) )
    {
      AP.push.call( this, values );
    }

    this.trigger( Collection.Events.Reset, [this] );
    this.sort( undefined, undefined, true );

    return this;
  }
function(values)
  {
    this.length = 0;

    if ( isArray( values ) )
    {
      AP.push.apply( this, values );
    }
    else if ( isValue( values ) )
    {
      AP.push.call( this, values );
    }

    this.trigger( Collection.Events.Reset, [this] );
    this.sort( undefined, undefined, true );

    return this;
  }
function ( values ) { this . length = 0 ; if ( isArray ( values ) ) { AP . push . apply ( this , values ) ; } else if ( isValue ( values ) ) { AP . push . call ( this , values ) ; } this . trigger ( Collection . Events . Reset , [ this ] ) ; this . sort ( undefined , undefined , true ) ; return this ; }
Resets the values in this collection with a new collection of values.

@method
@memberof Rekord.Collection#
@param {Any[]} [values] -
The new array of values in this collection.
@return {Rekord.Collection} -
The reference to this collection.
@emits Rekord.Collection#reset
Resets the values in this collection with a new collection of values .