benchmarks/scenarios/ember.js
function (record) {
      var recordToSend = { object: record };

      recordToSend.columnValues = this.getRecordColumnValues(record);
      recordToSend.searchKeywords = this.getRecordKeywords(record);
      recordToSend.filterValues = this.getRecordFilterValues(record);
      recordToSend.color = this.getRecordColor(record);

      return recordToSend;
    }
function (record) {
      var recordToSend = { object: record };

      recordToSend.columnValues = this.getRecordColumnValues(record);
      recordToSend.searchKeywords = this.getRecordKeywords(record);
      recordToSend.filterValues = this.getRecordFilterValues(record);
      recordToSend.color = this.getRecordColor(record);

      return recordToSend;
    }
function ( record ) { var recordToSend = { object : record } ; recordToSend . columnValues = this . getRecordColumnValues ( record ) ; recordToSend . searchKeywords = this . getRecordKeywords ( record ) ; recordToSend . filterValues = this . getRecordFilterValues ( record ) ; recordToSend . color = this . getRecordColor ( record ) ; return recordToSend ; }
Wraps a record and observers changes to it.
@private
@method wrapRecord
@param {Object} record The record instance.
@return {Object} The wrapped record. Format:
columnValues: {Array}
searchKeywords: {Array}
Wraps a record and observers changes to it .