From 6eb58380c41fef1691dd97df340a1f8134c964f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rau=CC=81l=20Garci=CC=81a?= Date: Fri, 8 Jan 2016 16:50:07 +0100 Subject: [PATCH] Add missing semicolons --- components/card/CardActions.jsx | 2 +- components/card/CardMedia.jsx | 2 +- components/card/CardText.jsx | 2 +- components/tooltip/Tooltip.jsx | 2 +- spec/components/dialog.jsx | 2 +- spec/components/drawer.jsx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/card/CardActions.jsx b/components/card/CardActions.jsx index c14c6c4e8..9ad7ff7bf 100644 --- a/components/card/CardActions.jsx +++ b/components/card/CardActions.jsx @@ -6,7 +6,7 @@ class CardActions extends Component { static propTypes = { children: PropTypes.any, className: PropTypes.string - } + }; render () { const { children, className, ...other } = this.props; diff --git a/components/card/CardMedia.jsx b/components/card/CardMedia.jsx index f4978fa7b..370c70346 100644 --- a/components/card/CardMedia.jsx +++ b/components/card/CardMedia.jsx @@ -13,7 +13,7 @@ class CardMedia extends Component { PropTypes.string, PropTypes.element ]) - } + }; render () { const { aspectRatio, children, className, color, contentOverlay, image, ...other } = this.props; diff --git a/components/card/CardText.jsx b/components/card/CardText.jsx index 2e09fa51f..2a3d8cafb 100644 --- a/components/card/CardText.jsx +++ b/components/card/CardText.jsx @@ -6,7 +6,7 @@ class CardText extends Component { static propTypes = { children: PropTypes.any, className: PropTypes.string - } + }; render () { const { children, className, ...other } = this.props; diff --git a/components/tooltip/Tooltip.jsx b/components/tooltip/Tooltip.jsx index a79450814..2719f9c0a 100644 --- a/components/tooltip/Tooltip.jsx +++ b/components/tooltip/Tooltip.jsx @@ -40,7 +40,7 @@ const Tooltip = (ComposedComponent) => class extends React.Component { if (this.timeout) clearTimeout(this.timeout); if (this.props.tooltipHideOnClick) this.setState({active: false}); if (this.props.onClick) this.props.onClick(); - } + }; render () { const {children, className, tooltip, tooltipDelay, tooltipHideOnClick, ...other} = this.props; diff --git a/spec/components/dialog.jsx b/spec/components/dialog.jsx index c44eaf816..27848511f 100644 --- a/spec/components/dialog.jsx +++ b/spec/components/dialog.jsx @@ -11,7 +11,7 @@ class DialogTest extends React.Component { this.setState({ active: !this.state.active }); - } + }; actions = [ { label: 'Disagree', primary: true, onClick: this.handleToggle }, diff --git a/spec/components/drawer.jsx b/spec/components/drawer.jsx index f76fea7ae..2ae7ab5ea 100644 --- a/spec/components/drawer.jsx +++ b/spec/components/drawer.jsx @@ -14,7 +14,7 @@ class DrawerTest extends React.Component { handleToggleRight = () => { this.setState({rightActive: !this.state.rightActive}); - } + }; render () { return (