1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-29 11:10:38 +02:00

code fix and build update

This commit is contained in:
Pomax
2016-03-20 10:15:52 -07:00
parent 7de57a8333
commit 3583bf313a
175 changed files with 376 additions and 23201 deletions

View File

@@ -13,6 +13,8 @@ var Navigation = React.createClass({
if (this.props.fullNav) {
link = <Link to={name}>{title}</Link>;
}
var last = sectionPages.length - 1;
if (entry===last) entry = null;
return <li key={name} data-number={entry}>{link}</li>;
},
@@ -23,7 +25,6 @@ var Navigation = React.createClass({
<navigation className={ this.props.compact ? "compact" : null }>
<ul className="navigation">
{ sectionPages.map(this.generateNavItem) }
<li><a href="#comments">Comments and questions</a></li>
</ul>
</navigation>
</div>