{"size": 855, "ext": "js", "max_stars_repo_path": "js/app.js", "max_stars_repo_name": "ptrompeter/personal-site", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/app.js", "max_issues_repo_name": "ptrompeter/personal-site", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/app.js", "max_forks_repo_name": "ptrompeter/personal-site", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 28.5, "max_line_length": 64, "alphanum_fraction": 0.4783625731}
$(document).ready(function(){
    var html = $("html");
    function goHome() {
        $("article").hide();
        $(".nav-item").removeClass("active");
        $("#home").addClass("active");
    }
    $("#about").click(function () {
        $("article").hide();
        $("#about-article").fadeIn(500);
        $(".nav-item").removeClass("active");
        $("#about").addClass("active");
    });

    $("#portfolio").click(function () {
        $("article").hide();
        $("#portfolio-article").fadeIn(500);
        $(".nav-item").removeClass("active");
        $("#portfolio").addClass("active");
    });
    $("#home").click(function () {
        goHome();
    });
    $(document).on('click','.navbar-collapse.show',function(e) {
        $(this).collapse('hide');
    });
    $("#navButton").on('click', function(e){
        goHome();
    });
});