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


export default class GoogleAd extends Component {
  static propTypes = {
    client: PropTypes.string,
    slot: PropTypes.string,
    format: PropTypes.string,
    wrapperDivStyle: PropTypes.object
  }
  constructor(props) {
    super(props);
  }
  componentDidMount() {
    (window.adsbygoogle = window.adsbygoogle || []).push({});
  }

  render() {
    return (
      <div style={this.props.wrapperDivStyle}>
        <ins className="adsbygoogle"
           style={{'display': 'block'}}
           data-ad-client={this.props.client}
           data-ad-slot={this.props.slot}
           data-ad-format={this.props.format}>
        </ins>
      </div>
    );
  }
}<commit_msg>add hide from print view<commit_after>import React, { Component, PropTypes } from 'react';


export default class GoogleAd extends Component {
  static propTypes = {
    client: PropTypes.string,
    slot: PropTypes.string,
    format: PropTypes.string,
    wrapperDivStyle: PropTypes.object
  }
  constructor(props) {
    super(props);
  }
  componentDidMount() {
    (window.adsbygoogle = window.adsbygoogle || []).push({});
  }

  render() {
    return (
      <div style={this.props.wrapperDivStyle} className="hidden-print">
        <ins className="adsbygoogle"
           style={{'display': 'block'}}
           data-ad-client={this.props.client}
           data-ad-slot={this.props.slot}
           data-ad-format={this.props.format}>
        </ins>
      </div>
    );
  }
}
{'fraction_non_alphanumeric': 0.14397905759162305, 'fraction_numerical': 0.0, 'mean_word_length': 2.7021791767554477, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3799356', 'n_tokens_mistral': 461, 'n_tokens_neox': 467, 'n_words': 87}