<commit_before>var Start = React.createClass({

    getInitialState: function () {
        return {
            times: [],
            name: '',
            date: '',
            email: ''
        };
    },

    getDates: function () {
        var me = this;
        $.get("/api/showtimes", function ( data ){
            me.setState({times: data['data']})
            console.log(data['data']);
        }).fail(function () { alert('call to api/showtimes failed');});
    },

    componentWillMount: function () {
        this.getDates();
    },

    submitVals: function(e) {
        e.preventDefault();

        var data = {
            name: this.state.name,
            email: this.state.email,
            showtime_id: this.state.date
        };

        if (this.valEmail(data.email)){
            $.ajax({<commit_msg>fixed little bug in AJAX /api/showtimes<commit_after>var Start = React.createClass({

    getInitialState: function () {
        return {
            times: [],
            name: '',
            date: '',
            email: ''
        };
    },

    getDates: function () {
        var me = this;
        $.get("/api/showtimes", function ( data ){
            me.setState({times: data['data']});
        }).fail(function () { alert('call to api/showtimes failed');});
    },

    componentWillMount: function () {
        this.getDates();
    },

    submitVals: function(e) {
        e.preventDefault();

        var data = {
            name: this.state.name,
            email: this.state.email,
            showtime_id: this.state.date
        };

        if (this.valEmail(data.email)){
            $.ajax({
{'fraction_non_alphanumeric': 0.15342298288508557, 'fraction_numerical': 0.0, 'mean_word_length': 1.5820189274447949, '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': '7031731', 'n_tokens_mistral': 466, 'n_tokens_neox': 456, 'n_words': 89}