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

@@ -3,7 +3,7 @@ import React from 'react';
import Icon from '../icons/Icon.js';
const methodsToBind = [
const METHODS_TO_BIND = [
'getTextboxes',
'handleTextboxChange'
];
@@ -13,7 +13,7 @@ export default class TextboxRepeater extends React.Component {
constructor() {
super();
methodsToBind.forEach((method) => {
METHODS_TO_BIND.forEach((method) => {
this[method] = this[method].bind(this);
});
}