<commit_before>var TrackVoteDisplay = React.createClass({

    componentDidMount: function () {

    },

    componentWillUnmount: function () {
    },

    render: function () {
        if (_.isEmpty(this.props.votes)) {
            return <span/>;
        }

        var index=0, component = this;
        return (

            <span className="votes">
                                    {this.props.votes.map(function (vote) {
                                        var iconClasses = React.addons.classSet({
                                            'mdi-social-person-outline':index>0,
                                            'mdi-social-person':index==0,
                                            'text-success':true,
                                            'pull-right':true
                                        });
                                        index++;

                                        // only show first 4 votes for now
                                        if(index==5){
                                            return  "+";
                                        }

                                        if(index>5){
                                            return <span></span>;
                                        }

                                        return (
                                            <span key={vote.id} className="pull-right" data-toggle="tooltip" data-placement="bottom" title="" data-original-title={'<img src=' + vote.img + '/><p>'+vote.name+'</p>'} data-html="true" data-delay='{"show": 500, "hide": 0}' >
                                                <i className={iconClasses} style={{color:component.props.color}}></i>

                                            </span>);

                                    })}


            </span>
        );


    }
});<commit_msg>hovering over little people icons for votes now shows instantly<commit_after>var TrackVoteDisplay = React.createClass({

    componentDidMount: function () {

    },

    componentWillUnmount: function () {
    },

    render: function () {
        if (_.isEmpty(this.props.votes)) {
            return <span/>;
        }

        var index=0, component = this;
        return (

            <span className="votes">
                                    {this.props.votes.map(function (vote) {
                                        var iconClasses = React.addons.classSet({
                                            'mdi-social-person-outline':index>0,
                                            'mdi-social-person':index==0,
                                            'text-success':true,
                                            'pull-right':true
                                        });
                                        index++;

                                        // only show first 4 votes for now
                                        if(index==5){
                                            return  "+";
                                        }

                                        if(index>5){
                                            return <span></span>;
                                        }

                                        return (
                                            <span key={vote.id} className="pull-right" data-toggle="tooltip" data-placement="bottom" title="" data-original-title={'<img src=' + vote.img + '/><p>'+vote.name+'</p>'} data-html="true" data-delay='{"show": 10, "hide": 0}' >
                                                <i className={iconClasses} style={{color:component.props.color}}></i>

                                            </span>);

                                    })}


            </span>
        );


    }
});
{'fraction_non_alphanumeric': 0.11137503299023489, 'fraction_numerical': 0.005014515703351808, 'mean_word_length': 0.7546296296296297, 'pattern_counts': {'":': 4, '<': 27, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 62, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2005123', 'n_tokens_mistral': 745, 'n_tokens_neox': 702, 'n_words': 135}