/**
* Ensures that a given index is inside the viewport.
- * @param {number} index The index of the item to scroll into view.
+ * @param {number} i The index of the item to scroll into view.
* @return {boolean} Whether any scrolling was needed.
*/
scrollIndexIntoView: function(i) {
* @param {Event} e The 'change' or 'splice' event.
*/
handleChangeList_: function(e) {
- webkitRequestAnimationFrame(this.header_.updateWidth.bind(this.header_));
+ requestAnimationFrame(this.header_.updateWidth.bind(this.header_));
},
/**
/**
* Sort data by the given column.
- * @param {number} index The index of the column to sort by.
+ * @param {number} i The index of the column to sort by.
*/
sort: function(i) {
var cm = this.columnModel_;