PDA

View Full Version : typo in Ext.List.getRecords (v 1.1.0)



atchijov
1 Apr 2011, 9:59 AM
/**
* Gets an array of the records from an array of nodes
* @param {Array} nodes The nodes to evaluate
* @return {Array} records The {@link Ext.data.Model} objects
*/
getRecords: function(nodes) {
var records = [],
i = 0,
len = nodes.length;

for (; i < len; i++) {
records[records.length] = this.store.getAt(nodes[i].viewIndex);
}

return r;
},


it should be



return records;