{"size": 503, "ext": "js", "max_stars_repo_path": "app/public/components/console/index.js", "max_stars_repo_name": "qianjiahao/me", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/public/components/console/index.js", "max_issues_repo_name": "qianjiahao/me", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/public/components/console/index.js", "max_forks_repo_name": "qianjiahao/me", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.8695652174, "max_line_length": 77, "alphanum_fraction": 0.6461232604}
var React = require('react');
var PureRenderMixin = require('react/lib/ReactComponentWithPureRenderMixin');
var { msg, mixins } = require('iflux');
var Style = require('./style.js');

var Console = React.createClass({
  mixins: [PureRenderMixin],

  componentWillMount() {
    msg.emit('checkLoginStatus');
  },

  render: function() {
    return (
      <div style={Style.container}>
        <div style={Style.wrapper}>{this.props.children}</div>
      </div>
    );
  }

});

module.exports = Console;