<commit_before>'use strict';

/**
 * @external ReactComponent
 * @see {@link http://facebook.github.io/react/docs/component-api.html}
 */
var React = require('react'),

FluxexInitScript = React.createClass({
    mixins: [require('./fluxmixin')],

    render: function () {
        return React.DOM.div(
            {className: this.props.className || 'fluxex_hidden'},
            React.DOM.script({src: this.props.src || '/static/js/main.js'}),
            React.DOM.script({dangerouslySetInnerHTML: {__html: this._getInitScript()}})
        );
    }
});

module.exports = FluxexInitScript;
<commit_msg>still require this hack to prevent ie8 bug<commit_after>'use strict';

/**
 * @external ReactComponent
 * @see {@link http://facebook.github.io/react/docs/component-api.html}
 */
var React = require('react'),

FluxexInitScript = React.createClass({
    mixins: [require('./fluxmixin')],

    render: function () {
        var initScript = this._getContext().inited ? undefined : this._getInitScript();
        return React.DOM.div(
            {className: this.props.className || 'fluxex_hidden'},
            React.DOM.script({src: this.props.src || '/static/js/main.js'}),
            initScript ? React.DOM.script({dangerouslySetInnerHTML: {__html: initScript}}) : undefined
        );
    }
});

module.exports = FluxexInitScript;

{'fraction_non_alphanumeric': 0.16430171769977595, 'fraction_numerical': 0.0007468259895444362, 'mean_word_length': 3.2138364779874213, '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': '3779941', 'n_tokens_mistral': 410, 'n_tokens_neox': 404, 'n_words': 72}