<commit_before>"use strict";

function setAllBlogId() {
    let blogLinkElements = document.querySelectorAll('.blog-link');
    for(let i = blogLinkElements.length - 1; i >= 0; i--) {
        blogLinkElements[i].id = 'blog-' + (i+1);
    }
}

setAllBlogId();

$(document).ready(function() {
    $("#blog-1").click(function() {
        $("#blog-1").load("blogs/2018-06-05-remove-persistent-running-app-in-notification-background.html #blogPost")
    });
});

$(document).ready(function() {
    $("#blog-2").click(function() {
        $("#blog-2").load("blogs/2016-08-29-thoughts-on-internship-with-OpenDayLight.html #blogPost")
    });
});<commit_msg>Change function to arrow function<commit_after>"use strict";

function setAllBlogId() {
    let blogLinkElements = document.querySelectorAll('.blog-link');
    for(let i = blogLinkElements.length - 1; i >= 0; i--) {
        blogLinkElements[i].id = 'blog-' + (i+1);
    }
}

setAllBlogId();

$(document).ready(() => {
    $("#blog-1").click(() => {
        $("#blog-1").load("blogs/2018-06-05-remove-persistent-running-app-in-notification-background.html #blogPost");
    });
});

$(document).ready(() => {
    $("#blog-2").click(() => {
        $("#blog-2").load("blogs/2016-08-29-thoughts-on-internship-with-OpenDayLight.html #blogPost");
    });
});
{'fraction_non_alphanumeric': 0.2304147465437788, 'fraction_numerical': 0.03533026113671275, 'mean_word_length': 3.5719298245614035, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '4581331', 'n_tokens_mistral': 469, 'n_tokens_neox': 444, 'n_words': 56}