Skip to content

Commit

Permalink
Merge pull request #52 from minwe/master
Browse files Browse the repository at this point in the history
adjust code style
  • Loading branch information
minwe committed Oct 29, 2015
2 parents 8011303 + 5131770 commit 4ce6528
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Accordion.Item = React.createClass({
},

handleToggle: function() {
this.setState({expanded:!this.state.expanded});
this.setState({expanded: !this.state.expanded});
},

getCollapsibleDimensionValue: function() {
Expand Down
1 change: 0 additions & 1 deletion src/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,6 @@ var Input = React.createClass({
},

renderIcon: function() {
// TODO: replace with Icon component
var props = this.props;
var feedbackIcon = {
success: 'check',
Expand Down
2 changes: 1 addition & 1 deletion src/Panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var Panel = React.createClass({
},

handleToggle: function() {
this.setState({expanded:!this.state.expanded});
this.setState({expanded: !this.state.expanded});
},

getCollapsibleDimensionValue: function() {
Expand Down
2 changes: 1 addition & 1 deletion src/utils/TransitionEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ if (canUseDOM) {
}

if (support.animationend) {
CSSCore.addClass(document.documentElement, 'cssanimations');
CSSCore.addClass(document.documentElement, 'cssanimations');
}

// We use the raw {add|remove}EventListener() call because EventListener
Expand Down

0 comments on commit 4ce6528

Please sign in to comment.