<commit_before>// This function requires that React is in scope by the time this is called,
// otherwise, you will get a "React is not defined error".
// See import example at https://github.com/louispan/glazier-react-examples/blob/master/examples/todo/haskell/jsexports/exports.header
// Using React.createClass for now since not all browsers support ES6 classes
// It is the equivalent of the following:

var hgr$React_;
function hgr$React() {
    if (typeof hgr$React_ == "undefined") {
        hgr$React_ = require('react');
    }
    return hgr$React_;
}
var hgr$ReactDOM_;
function hgr$ReactDOM() {
    if (typeof hgr$ReactDOM_ == "undefined") {
        hgr$ReactDOM_ = require('react-dom');
    }
    return hgr$ReactDOM_;
}

var hgr$shimComponent_;
function hgr$shimComponent() {
    if (typeof hgr$shimComponent_ == "undefined") {
        // Inheriting from Component means every call to this.setState will result in a render
        // Inheriting from PureComponet means a shallow comparison will be made
        var React = hgr$React();
        class Shim extends React.PureComponent {

            componentDidUpdate() {
                if (this.props['componentDidUpdate'])
                    this.props['componentDidUpdate'](this.state);
            }

            render() {<commit_msg>commented node module package.json<commit_after>// Node module dependencies
// Example package.json:
// {
//   "dependencies": {
//     "react": "^15.4.2",
//     "react-dom": "^15.4.2"
//   }
// }
var hgr$React_;
function hgr$React() {
    if (typeof hgr$React_ == "undefined") {
        hgr$React_ = require('react');
    }
    return hgr$React_;
}

var hgr$ReactDOM_;
function hgr$ReactDOM() {
    if (typeof hgr$ReactDOM_ == "undefined") {
        hgr$ReactDOM_ = require('react-dom');
    }
    return hgr$ReactDOM_;
}

var hgr$shimComponent_;
function hgr$shimComponent() {
    if (typeof hgr$shimComponent_ == "undefined") {
        // Inheriting from Component means every call to this.setState will result in a render
        // Inheriting from PureComponet means a shallow comparison will be made
        var React = hgr$React();
        class Shim extends React.PureComponent {

            componentDidUpdate() {
                if (this.props['componentDidUpdate'])
                    this.props['componentDidUpdate'](this.state);
            }

            render() {
{'fraction_non_alphanumeric': 0.11870805369127517, 'fraction_numerical': 0.0037751677852348995, 'mean_word_length': 2.7265625, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '297346', 'n_tokens_mistral': 714, 'n_tokens_neox': 715, 'n_words': 196}