1
0
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:
ivaosthu 2015-03-23 18:38:29 +01:00
parent 4fb2b0b418
commit ac66ccaaf2
2 changed files with 56 additions and 54 deletions

View File

@ -28,9 +28,11 @@ var TabView = React.createClass({
render: function() {
var tabNodes = this.props.tabPanes.map(function (tabPane) {
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}
onClick={this.onChangeTab.bind(this, tabPane)}>{tabPane.name}
onClick={this.onChangeTab.bind(this, tabPane)}>
{tabPane.name}
</a>
</li>
);