<commit_before>import React, { PropTypes } from 'react'

export default class Html extends React.Component {
  render () {
    return (
    <html>
    <head>
      <title>
        {this.props.title}
      </title>
      <link type='text/css' rel='stylesheet' href='/static/pure.min.css' />
      <link type='text/css' rel='stylesheet' href='/static/app.bundle.css' />
    </head>
    <body>
      <div id='root' dangerouslySetInnerHTML={{ __html: this.props.children }} />
      <script src='/static/init.bundle.js' onLoad='console.log("hovno")' />
      <script async src='/static/react.bundle.js' />
      <script async src='/static/app.bundle.js' />
    </body>
    </html>
    )
  }
}

Html.propTypes = {
  children: PropTypes.node.isRequired,
  title: PropTypes.string.isRequired
}<commit_msg>WWW: Add viewport meta tag for mobile sites<commit_after>import React, { PropTypes } from 'react'

export default class Html extends React.Component {
  render () {
    return (
    <html>
    <head>
      <title>
        {this.props.title}
      </title>
      <meta name='viewport' content='width=device-width, initial-scale=1' />
      <link type='text/css' rel='stylesheet' href='/static/pure.min.css' />
      <link type='text/css' rel='stylesheet' href='/static/app.bundle.css' />
    </head>
    <body>
      <div id='root' dangerouslySetInnerHTML={{ __html: this.props.children }} />
      <script src='/static/init.bundle.js' />
      <script async src='/static/react.bundle.js' />
      <script async src='/static/app.bundle.js' />
    </body>
    </html>
    )
  }
}

Html.propTypes = {
  children: PropTypes.node.isRequired,
  title: PropTypes.string.isRequired
}
{'fraction_non_alphanumeric': 0.16915720263000597, 'fraction_numerical': 0.0005977286312014345, 'mean_word_length': 2.8394495412844036, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, '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': '2092972', 'n_tokens_mistral': 555, 'n_tokens_neox': 558, 'n_words': 108}