From 34097faa13dab6ea5d7ac992842126c17ad4d2b9 Mon Sep 17 00:00:00 2001 From: Christopher Speller Date: Thu, 19 Nov 2015 21:47:05 -0500 Subject: Patching strange travis eslint problem --- web/react/components/toggle_modal_button.jsx | 2 +- web/react/stores/modal_store.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/react/components/toggle_modal_button.jsx b/web/react/components/toggle_modal_button.jsx index 51c8d1f20..eae4a024d 100644 --- a/web/react/components/toggle_modal_button.jsx +++ b/web/react/components/toggle_modal_button.jsx @@ -22,7 +22,7 @@ export default class ModalToggleButton extends React.Component { } render() { - const {children, dialogType, dialogProps, ...props} = this.props; + const {children, dialogType, dialogProps, ...props} = this.props; //eslint-disable-line no-redeclare // this assumes that all modals will have a show property and an onHide event const dialog = React.createElement(this.props.dialogType, Object.assign({}, dialogProps, { diff --git a/web/react/stores/modal_store.jsx b/web/react/stores/modal_store.jsx index 45515bc9d..69f43a5cf 100644 --- a/web/react/stores/modal_store.jsx +++ b/web/react/stores/modal_store.jsx @@ -28,7 +28,7 @@ class ModalStoreClass extends EventEmitter { handleEventPayload(payload) { // toggle event handlers should accept a boolean show/hide value and can accept a map of arguments - const {type, value, ...args} = payload.action; + const {type, value, ...args} = payload.action; //eslint-disable-line no-redeclare switch (type) { case ActionTypes.TOGGLE_IMPORT_THEME_MODAL: -- cgit v1.2.3-1-g7c22