{"size": 743, "ext": "js", "max_stars_repo_path": "webportfolio/js/aaa.js", "max_stars_repo_name": "ericaguilar/ericamo", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "webportfolio/js/aaa.js", "max_issues_repo_name": "ericaguilar/ericamo", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "webportfolio/js/aaa.js", "max_forks_repo_name": "ericaguilar/ericamo", "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": 27.5185185185, "max_line_length": 63, "alphanum_fraction": 0.5625841184}
// Smooth Scrolling for internal links
$('a[href^="#"]').on("click",function (e) {
	    e.preventDefault();

	    var target = this.hash;
	    var $target = $(target);

	    $("html, body").stop().animate({
	        "scrollTop": $target.offset().top
	    }, 900, 'swing', function () {
	        window.location.hash = target;
	    });
	});

// Change background of nav bar on scroll
$(window).scroll(function() {    
  var scroll = $(window).scrollTop();
  if (scroll > window.innerHeight - 55) {
      $(".navbar").removeClass("transparent");
    } else {
      $(".navbar").addClass("transparent");
    }
});

// Activate scrollspy to highlight nav item when scrolled over
$("body").scrollspy({target: ".navbar"}) 
