<commit_before>// Don't break on browsers without console.log();
try { console.assert(1); } catch(e) { console = { log: function() {}, assert: function() {} } }

jQuery(function($) {

    // Any link (or clickable <i>-icon) with a class='confirm' gets a confirmation dialog..
    $('a.confirm').on('click', function(){
        return confirm( $(this).data('confirm') );
    });

    // Initialize the Fancybox shizzle.
    $('.fancybox').fancybox({
        margin: [ 20, 20, 40, 20],
        helpers: { overlay: { css: { 'background' : 'rgba(0, 0, 0, 0.5)' } } }
    });
<commit_msg>Fixed: .confirm class should work for all types of elements.<commit_after>// Don't break on browsers without console.log();
try { console.assert(1); } catch(e) { console = { log: function() {}, assert: function() {} } }

jQuery(function($) {

    // Any link (or clickable <i>-icon) with a class='confirm' gets a confirmation dialog..
    $('.confirm').on('click', function(){
        return confirm( $(this).data('confirm') );
    });

    // Initialize the Fancybox shizzle.
    $('.fancybox').fancybox({
        margin: [ 20, 20, 40, 20],
        helpers: { overlay: { css: { 'background' : 'rgba(0, 0, 0, 0.5)' } } }
    });

{'fraction_non_alphanumeric': 0.20214521452145215, 'fraction_numerical': 0.0231023102310231, 'mean_word_length': 3.0704697986577183, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6916554', 'n_tokens_mistral': 416, 'n_tokens_neox': 381, 'n_words': 111}