<commit_before>/** @jsx React.DOM */

(function() {
  var CONSTANTS = require('../constants');
  var Dispatcher = require('../dispatcher');
  var TitleNotificationsCount = require('./title_notifications_count.js.jsx');
  var DropdownNotificationsToggler = require('./dropdown_notifications_toggler.js.jsx');
  var DropdownNotifications = require('./dropdown_notifications.js.jsx');
  var ChatNotificationsToggler = require('./chat_notifications_toggler.js.jsx');
  var ChatNotifications = require('./chat_notifications.js.jsx');
  var UserNavbarDropdown = require('./user_navbar_dropdown.js.jsx');
  var Avatar = require('./avatar.js.jsx');

  var Navbar = React.createClass({
    getDefaultProps: function() {
      return {
        user: app.currentUser().attributes
      };
    },

    render: function() {
      var user = this.props.currentUser;

      return (
        <ul className='nav navbar-nav'>
          <li>
            <TitleNotificationsCount />
          </li>

          <li className="navbar-item-muted">
            <ChatNotificationsToggler
              iconClass='icon-bubble'
              href='#notifications'
              label='Chat' />

            <ChatNotifications
                url={this.props.chatPath}
                username={this.props.user.username}
            />
          </li>

          <li className="navbar-item-muted">
            <DropdownNotificationsToggler
                iconClass='icon-bell'
                href='#stories'
                label='Notifications' />

            <DropdownNotifications
                url={this.props.notificationsPath}
                username={this.props.user.username}
                editUserPath={this.props.editUserPath} />
          </li>

          <li className='dropdown'>
            <a href='#' className='dropdown-toggle' data-toggle='dropdown' key={'navbar dropdown'} style={{ padding: '15px 6px 14px' }}>
              <Avatar user={this.props.user} size="24" />
              <span className='visible-xs-inline' style={{ 'margin-left': '5px' }}>
                {this.props.user.username}
              </span><commit_msg>Oops remove 1px from avatar padding<commit_after>/** @jsx React.DOM */

(function() {
  var CONSTANTS = require('../constants');
  var Dispatcher = require('../dispatcher');
  var TitleNotificationsCount = require('./title_notifications_count.js.jsx');
  var DropdownNotificationsToggler = require('./dropdown_notifications_toggler.js.jsx');
  var DropdownNotifications = require('./dropdown_notifications.js.jsx');
  var ChatNotificationsToggler = require('./chat_notifications_toggler.js.jsx');
  var ChatNotifications = require('./chat_notifications.js.jsx');
  var UserNavbarDropdown = require('./user_navbar_dropdown.js.jsx');
  var Avatar = require('./avatar.js.jsx');

  var Navbar = React.createClass({
    getDefaultProps: function() {
      return {
        user: app.currentUser().attributes
      };
    },

    render: function() {
      var user = this.props.currentUser;

      return (
        <ul className='nav navbar-nav'>
          <li>
            <TitleNotificationsCount />
          </li>

          <li className="navbar-item-muted">
            <ChatNotificationsToggler
              iconClass='icon-bubble'
              href='#notifications'
              label='Chat' />

            <ChatNotifications
                url={this.props.chatPath}
                username={this.props.user.username}
            />
          </li>

          <li className="navbar-item-muted">
            <DropdownNotificationsToggler
                iconClass='icon-bell'
                href='#stories'
                label='Notifications' />

            <DropdownNotifications
                url={this.props.notificationsPath}
                username={this.props.user.username}
                editUserPath={this.props.editUserPath} />
          </li>

          <li className='dropdown'>
            <a href='#' className='dropdown-toggle' data-toggle='dropdown' key={'navbar dropdown'} style={{ padding: '15px 6px 13px' }}>
              <Avatar user={this.props.user} size="24" />
              <span className='visible-xs-inline' style={{ 'margin-left': '5px' }}>
                {this.props.user.username}
              </span>
{'fraction_non_alphanumeric': 0.13697989714820008, 'fraction_numerical': 0.003973819541841982, 'mean_word_length': 2.2028443113772456, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, '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': '521005', 'n_tokens_mistral': 1227, 'n_tokens_neox': 1174, 'n_words': 194}