mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
JSXhint on buildserver
This commit is contained in:
parent
4fb2b0b418
commit
ac66ccaaf2
@ -28,9 +28,11 @@ var TabView = React.createClass({
|
|||||||
render: function() {
|
render: function() {
|
||||||
var tabNodes = this.props.tabPanes.map(function (tabPane) {
|
var tabNodes = this.props.tabPanes.map(function (tabPane) {
|
||||||
return (
|
return (
|
||||||
<li key={tabPane.name} className={tabPane.name === this.state.activeTab.name ? "active": ""}>
|
<li key={tabPane.name} className=
|
||||||
|
{tabPane.name === this.state.activeTab.name ? "active": ""}>
|
||||||
<a href={"#" + tabPane.slug}
|
<a href={"#" + tabPane.slug}
|
||||||
onClick={this.onChangeTab.bind(this, tabPane)}>{tabPane.name}
|
onClick={this.onChangeTab.bind(this, tabPane)}>
|
||||||
|
{tabPane.name}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user