<commit_before>
var MenuDrawer = React.createClass({
  contextTypes: { main: React.PropTypes.any.isRequired },
  
  onClickInvert: function(e) {
    this.context.main.setState({ invert: !this.context.main.state.invert })
  },
  
  onClickLeftward: function(e) {
    this.context.main.setState({ invert: !this.context.main.state.invert })
  },
  
  onClickRightward: function(e) {
    this.context.main.setState({ invert: !this.context.main.state.invert })
  },
  
  render: function() {
    return (<div style={{ width: "100vw" }}>
      <div style={{ position: "absolute", top: 0, left: 20 }}>
        <h2><a href="javascript:void(0)" onClick={this.onClickInvert}>{"☯"}</a></h2>
      </div>
      <h2>
        <a href="javascript:void(0)" onClick={this.onClickLeftward}>{"⚝"}</a>
        <span className="ddim">{" ⇜ "}</span>
        <span className="dim">E X P</span>{" "} L O R E
        <span className="ddim">{" ⇝ "}</span>
        <a href="javascript:void(0)" onClick={this.onClickRightward}>{"⚝"}</a>
      </h2>
      <div style={{ position: "absolute", top: 0, right: 20 }}>
        <h2><a href="javascript:void(0)" onClick={this.onClickInvert}>{"Ω"}</a></h2>
      </div>
    </div>)
  }
})<commit_msg>Favor e.preventDefault over href="javascript:void(0)" trick.<commit_after>
var MenuDrawer = React.createClass({
  contextTypes: { main: React.PropTypes.any.isRequired },
  
  onClickInvert: function(e) {
    this.context.main.setState({ invert: !this.context.main.state.invert })
    e.preventDefault()
  },
  
  onClickLeftward: function(e) {
    this.context.main.setState({ invert: !this.context.main.state.invert })
    e.preventDefault()
  },
  
  onClickRightward: function(e) {
    this.context.main.setState({ invert: !this.context.main.state.invert })
    e.preventDefault()
  },
  
  render: function() {
    return (<div style={{ width: "100vw" }}>
      <div style={{ position: "absolute", top: 0, left: 20 }}>
        <h2><a href="" onClick={this.onClickInvert}>{"☯"}</a></h2>
      </div>
      <h2>
        <a href="" onClick={this.onClickLeftward}>{"⚝"}</a>
        <span className="ddim">{" ⇜ "}</span>
        <span className="dim">E X P</span>{" "} L O R E
        <span className="ddim">{" ⇝ "}</span>
        <a href="" onClick={this.onClickRightward}>{"⚝"}</a>
      </h2>
      <div style={{ position: "absolute", top: 0, right: 20 }}>
        <h2><a href="" onClick={this.onClickInvert}>{"Ω"}</a></h2>
      </div>
    </div>)
  }
})
{'fraction_non_alphanumeric': 0.2125506072874494, 'fraction_numerical': 0.01417004048582996, 'mean_word_length': 3.223931623931624, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '781176', 'n_tokens_mistral': 907, 'n_tokens_neox': 900, 'n_words': 163}