Change const variable name

This commit is contained in:
John Furrow
2016-01-09 09:52:20 -08:00
parent 55c8dbaaad
commit a1945175b5
14 changed files with 30 additions and 31 deletions

View File

@@ -4,7 +4,7 @@ import React from'react';
import Icon from '../icons/Icon';
import UIActions from '../../actions/UIActions';
const methodsToBind = [
const METHODS_TO_BIND = [
'handleKeyUp'
];
@@ -16,7 +16,7 @@ export default class SearchBox extends React.Component {
searchValue: ''
};
methodsToBind.forEach((method) => {
METHODS_TO_BIND.forEach((method) => {
this[method] = this[method].bind(this);
});
}