Skip to content

Commit 6dfcf36

Browse files
committedApr 8, 2015
[changed] Internal variables classSet to classNames
This has been causing a lot of confusion for folks since React has depricated `classSet`. We felt at the time that changing the require call to `require('classnames')` withing changing the variable name would be enough. It hasn't due to the confusion people are seeing. Fixes react-bootstrap#489
1 parent ee562c8 commit 6dfcf36

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+109
-109
lines changed
 

Diff for: ‎docs/examples/.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"globals": {
77
"mountNode",
88
"React",
9-
"classSet",
9+
"classNames",
1010
"Accordion",
1111
"Alert",
1212
"Badge",

Diff for: ‎docs/examples/CollapsableParagraph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const CollapsableParagraph = React.createClass({
2020
return (
2121
<div>
2222
<Button onClick={this.onHandleToggle}>{text} Content</Button>
23-
<div ref='panel' className={classSet(styles)}>
23+
<div ref='panel' className={classNames(styles)}>
2424
{this.props.children}
2525
</div>
2626
</div>

0 commit comments

Comments
 (0)