<commit_before>'use strict';

var ReactComponent = require('react/lib/ReactComponent');
var ReactPropTypesConf = require('./ReactPropTypesConf');
var conf = require('./conf');

/**
 * ReactComponentConf extends ReactComponent
 */
function ReactComponentConf() {
  ReactComponent.apply(this, arguments);
}

ReactComponentConf.prototype = Object.create(ReactComponent.prototype);
ReactComponentConf.prototype.constructor = ReactComponentConfProps;

/**
 * Gets the optional conf props
 * @param {string|number} child - The child conf if required
 * @return {object|undefined} The conf props or child conf props
 */
ReactComponentConf.prototype.conf =
ReactComponentConf.prototype.getConfProps =
function getConfProps(child) {
  return conf(child, this.props, this.state);
};

ReactComponentConf.propTypes = {
  conf: ReactPropTypesConf
};

module.exports = ReactComponentConf;<commit_msg>fix typo<commit_after>'use strict';

var ReactComponent = require('react/lib/ReactComponent');
var ReactPropTypesConf = require('./ReactPropTypesConf');
var conf = require('./conf');

/**
 * ReactComponentConf extends ReactComponent
 */
function ReactComponentConf() {
  ReactComponent.apply(this, arguments);
}

ReactComponentConf.prototype = Object.create(ReactComponent.prototype);
ReactComponentConf.prototype.constructor = ReactComponentConf;

/**
 * Gets the optional conf props
 * @param {string|number} child - The child conf if required
 * @return {object|undefined} The conf props or child conf props
 */
ReactComponentConf.prototype.conf =
ReactComponentConf.prototype.getConfProps =
function getConfProps(child) {
  return conf(child, this.props, this.state);
};

ReactComponentConf.propTypes = {
  conf: ReactPropTypesConf
};

module.exports = ReactComponentConf;
{'fraction_non_alphanumeric': 0.11350737797956867, 'fraction_numerical': 0.0, 'mean_word_length': 6.108870967741935, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1276467', 'n_tokens_mistral': 466, 'n_tokens_neox': 482, 'n_words': 114}