<commit_before>$(function(){
    if($("input").is("#calendar-field")) {
        Calendar.setup({
            inputField: "calendar-field",       // id of the input field
            ifFormat: "%Y-%m-%d %H:%M:%S",      // format of the input field
            button: "calendar-field",           // trigger for the calendar (button ID)
            align: "Br",                        // alignment
            timeFormat: "24",
            showsTime: true,
            singleClick: true
        });
    }

    $(document).on('click', "button[name='mybutton']", function(){
        console.log('Login clicked!');
        var username = $('#loginform-username').val();
        dataLayer.push({
            'username': username,
            'event': 'event_username_login'
        });
    });

});<commit_msg>fixed push dataLayer event 'event_username_login'<commit_after>$(function(){
    if($("input").is("#calendar-field")) {
        Calendar.setup({
            inputField: "calendar-field",       // id of the input field
            ifFormat: "%Y-%m-%d %H:%M:%S",      // format of the input field
            button: "calendar-field",           // trigger for the calendar (button ID)
            align: "Br",                        // alignment
            timeFormat: "24",
            showsTime: true,
            singleClick: true
        });
    }

    $(document).on('click', "button[name='login-button-2']", function(){
        console.log('Login clicked!');
        var username = $('#loginform-username').val();
        dataLayer.push({
            'username': username,
            'event': 'event_username_login'
        });
    });

});
{'fraction_non_alphanumeric': 0.16484848484848486, 'fraction_numerical': 0.0030303030303030303, 'mean_word_length': 1.7562604340567614, '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': '3062034', 'n_tokens_mistral': 437, 'n_tokens_neox': 430, 'n_words': 100}