js/libs/ember-data.js
function(type) {
    var array = DS.RecordArray.create({
      type: type,
      content: Ember.A(),
      store: this.store,
      isLoaded: true
    });

    this.registerFilteredRecordArray(array, type);

    return array;
  }
function(type) {
    var array = DS.RecordArray.create({
      type: type,
      content: Ember.A(),
      store: this.store,
      isLoaded: true
    });

    this.registerFilteredRecordArray(array, type);

    return array;
  }
function ( type ) { var array = DS . RecordArray . create ( { type : type , content : Ember . A ( ) , store : this . store , isLoaded : true } ) ; this . registerFilteredRecordArray ( array , type ) ; return array ; }
Create a `DS.RecordArray` for a type and register it for updates.

@method createRecordArray
@param {Class} type
@return {DS.RecordArray}
Create a DS . RecordArray for a type and register it for updates .