<commit_before>'use strict';

GitLog.NavigationBar = React.createClass({
    render: function () {
        var Navbar = ReactBootstrap.Navbar;
        var CollapsibleNav = ReactBootstrap.CollapsibleNav;
        var Nav = ReactBootstrap.Nav;
        var NavItem = ReactBootstrap.NavItem;
        var DropdownButton = ReactBootstrap.DropdownButton;
        var MenuItem = ReactBootstrap.MenuItem;
        var Input = ReactBootstrap.Input;

        var userLink = '#/' + username;

        return (
            <Navbar brand={GitLog.name} toggleNavKey={0} href="#/">
                <CollapsibleNav eventKey={0}> {/* This is the eventKey referenced */}
                    <Nav navbar>
                        <NavItem eventKey={1} href='#/Dashboard'>Dashboard</NavItem>
                        <NavItem eventKey={2} href='#'>Link</NavItem>
                        <DropdownButton eventKey={3} title='Dropdown'>
                            <MenuItem eventKey='1'>Action</MenuItem>
                            <MenuItem eventKey='2'>Another action</MenuItem>
                            <MenuItem eventKey='3'>Something else here</MenuItem>
                            <MenuItem divider />
                            <MenuItem eventKey='4'>Separated link</MenuItem>
                        </DropdownButton>
                    </Nav>
                    <Nav navbar right>
                        <NavItem eventKey={1} href={userLink}>{username}</NavItem>
                        <NavItem eventKey={2} href='/sign/in'>Sign in</NavItem>
                    </Nav>
                </CollapsibleNav>
            </Navbar><commit_msg>Removed unused code.<commit_after>'use strict';

GitLog.NavigationBar = React.createClass({
    render: function () {
        var Navbar = ReactBootstrap.Navbar;
        var CollapsibleNav = ReactBootstrap.CollapsibleNav;
        var Nav = ReactBootstrap.Nav;
        var NavItem = ReactBootstrap.NavItem;
        var DropdownButton = ReactBootstrap.DropdownButton;
        var MenuItem = ReactBootstrap.MenuItem;
        var Input = ReactBootstrap.Input;

        var userLink = '#/' + username;

        return (
            <Navbar brand={GitLog.name} toggleNavKey={0} href="#/">
                <CollapsibleNav eventKey={0}> {/* This is the eventKey referenced */}
                    <Nav navbar>
                        <NavItem eventKey={1} href='#/Home'>Home</NavItem>
                        <NavItem eventKey={2} href='#/Dashboard'>Dashboard</NavItem>
                    </Nav>
                    <Nav navbar right>
                        <NavItem eventKey={1} href={userLink}>{username}</NavItem>
                        <NavItem eventKey={2} href='/sign/in'>Sign in</NavItem>
                    </Nav>
                </CollapsibleNav>
            </Navbar>
{'fraction_non_alphanumeric': 0.11424491253123885, 'fraction_numerical': 0.006069260978222063, 'mean_word_length': 1.6736641221374047, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 46, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5494528', 'n_tokens_mistral': 745, 'n_tokens_neox': 712, 'n_words': 147}