Skip to content

Commit fecc2dc

Browse files
committed
Merge pull request react-bootstrap#666 from AlexKVal/spaceInfixOps
Fix eslint `space-infix-ops` rule warnings.
2 parents f8a7243 + e87a1fe commit fecc2dc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Carousel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ const Carousel = React.createClass({
253253
animateOut: isPreviousActive,
254254
animateIn: isActive && this.state.previousActiveIndex != null && this.props.slide,
255255
direction: this.state.direction,
256-
onAnimateOutEnd: isPreviousActive ? this.handleItemAnimateOutEnd: null
256+
onAnimateOutEnd: isPreviousActive ? this.handleItemAnimateOutEnd : null
257257
}
258258
);
259259
},

src/TabbedArea.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const TabbedArea = React.createClass({
9999
key: child.key ? child.key : index,
100100
animation: this.props.animation,
101101
onAnimateOutEnd: (this.state.previousActiveKey != null &&
102-
child.props.eventKey === this.state.previousActiveKey) ? this.handlePaneAnimateOutEnd: null
102+
child.props.eventKey === this.state.previousActiveKey) ? this.handlePaneAnimateOutEnd : null
103103
}
104104
);
105105
},

test/CollapsibleNavSpec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ describe('CollapsibleNav', function () {
109109
let classDOM = ReactTestUtils.findRenderedDOMComponentWithTag(instance.refs.collapsible_object, 'DIV').props.className
110110
, classArray = classDOM.split(' ')
111111
, idx = classArray.indexOf('navbar-collapse');
112-
assert.equal(classArray.indexOf('navbar-collapse', idx+1), -1);
112+
assert.equal(classArray.indexOf('navbar-collapse', idx + 1), -1);
113113
});
114114
});

0 commit comments

Comments
 (0)