diff --git a/devtools/client/shared/components/tree.js b/devtools/client/shared/components/tree.js index bb6cfb38912f..e16a16523f79 100644 --- a/devtools/client/shared/components/tree.js +++ b/devtools/client/shared/components/tree.js @@ -369,7 +369,7 @@ const Tree = module.exports = createClass({ * * @param {Object} item */ - _focus: function (item) { + _focus(item) { if (this.props.onFocus) { this.props.onFocus(item); } @@ -378,7 +378,7 @@ const Tree = module.exports = createClass({ /** * Sets the state to have no focused item. */ - _onBlur: function () { + _onBlur() { this._focus(undefined); },