All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ui.static.git.diffHighlight.js Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
$(document).ready(function () {
    displayFilesDiffs();
});

function displayFilesDiffs() {
    $(".file-content").each(function () {
        let fileContent = $(this);
        let before = fileContent.find(".before").text();
        let after = fileContent.find(".after").text();
        let diffHtml = generateDiffHtml(before, after);
        fileContent.find(".diff").html(diffHtml);
    });
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy