<commit_before>"use strict";

import React                from "react";
import Messages             from "./common/messages";
import LeftNav              from "./layout/left_nav";
import {RouteHandler}       from "react-router";
import { AppCanvas, AppBar, IconButton } from "material-ui";

export default React.createClass({

  render(){    

    let title = "React Kindling";

    let githubButton = (
      <IconButton
        className="github-icon-button"
        iconClassName="muidocs-icon-custom-github"
        href="https://github.com/jbasdf/react-kindling"
        linkButton={true} />
    );

    return (
      <AppCanvas predefinedLayout={1}>

        <AppBar
          className="mui-dark-theme"
          onMenuIconButtonTouchTap={this._onMenuIconButtonTouchTap}
          title={title}
          zDepth={0}>
          {githubButton}
        </AppBar>

        <LeftNav ref="leftNav" />

        <Messages/>

        <RouteHandler />

        <div className="footer full-width-section mui-dark-theme">
          <p>
            Built by <a href="http://www.atomicjolt.com">Atomic Jolt</a>.
          </p>
          {githubButton}
        </div>

      </AppCanvas>

    );
  },

  _onMenuIconButtonTouchTap: function() {
    this.refs.leftNav.toggle();
  }

});<commit_msg>Fixed messages location in layout<commit_after>"use strict";

import React                from "react";
import Messages             from "./common/messages";
import LeftNav              from "./layout/left_nav";
import {RouteHandler}       from "react-router";
import { AppCanvas, AppBar, IconButton } from "material-ui";

export default React.createClass({

  render(){    

    let title = "React Kindling";

    let githubButton = (
      <IconButton
        className="github-icon-button"
        iconClassName="muidocs-icon-custom-github"
        href="https://github.com/jbasdf/react-kindling"
        linkButton={true} />
    );

    return (
      <AppCanvas predefinedLayout={1}>

        <AppBar
          className="mui-dark-theme"
          onMenuIconButtonTouchTap={this._onMenuIconButtonTouchTap}
          title={title}
          zDepth={0}>
          {githubButton}
        </AppBar>

        <LeftNav ref="leftNav" />

        <div className="mui-app-content-canvas page-with-nav">
          <Messages/>
          <div className="page-with-nav-content">
            <RouteHandler />
          </div>
        </div>

        <div className="footer full-width-section mui-dark-theme">
          <p>
            Built by <a href="http://www.atomicjolt.com">Atomic Jolt</a>.
          </p>
          {githubButton}
        </div>

      </AppCanvas>

    );
  },

  _onMenuIconButtonTouchTap: function() {
    this.refs.leftNav.toggle();
  }

});
{'fraction_non_alphanumeric': 0.1324599708879185, 'fraction_numerical': 0.001455604075691412, 'mean_word_length': 2.024202420242024, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1659897', 'n_tokens_mistral': 824, 'n_tokens_neox': 792, 'n_words': 151}