From 68cc2d4e60c9ef155235a6e9cf08086974231be0 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Thu, 5 May 2016 22:46:22 -0700 Subject: [PATCH] feat(babel6): 1,770 linter errors --- src/components/editable-list.jsx | 2 +- src/flux/stores/modal-store.jsx | 2 +- src/flux/stores/popover-store.jsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/editable-list.jsx b/src/components/editable-list.jsx index 88305eb48..ff4347326 100644 --- a/src/components/editable-list.jsx +++ b/src/components/editable-list.jsx @@ -163,7 +163,7 @@ class EditableList extends Component { this._setStateAndFocus({creatingItem: false}, callback); }; - _setStateAndFocus = (state, callback = ()=> {}) => { + _setStateAndFocus = (state, callback = () => {}) => { this.setState(state, () => { this._focusSelf(); callback(); diff --git a/src/flux/stores/modal-store.jsx b/src/flux/stores/modal-store.jsx index e1ec3652c..354f261d4 100644 --- a/src/flux/stores/modal-store.jsx +++ b/src/flux/stores/modal-store.jsx @@ -41,7 +41,7 @@ class ModalStore extends NylasStore { }); }; - openModal = ({component, height, width}, callback = ()=> {}) => { + openModal = ({component, height, width}, callback = () => {}) => { const props = { height: height, width: width, diff --git a/src/flux/stores/popover-store.jsx b/src/flux/stores/popover-store.jsx index 8778d2a97..5a10b00cd 100644 --- a/src/flux/stores/popover-store.jsx +++ b/src/flux/stores/popover-store.jsx @@ -37,7 +37,7 @@ class PopoverStore extends NylasStore { }); }; - openPopover = (element, {originRect, direction, fallbackDirection, callback = ()=> {}}) => { + openPopover = (element, {originRect, direction, fallbackDirection, callback = () => {}}) => { const props = { direction, originRect,