{"size": 433, "ext": "js", "max_stars_repo_path": "js/src/smooth-scrolling.js", "max_stars_repo_name": "mrsWeasel/Tuomas-Kallinen-Website", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/src/smooth-scrolling.js", "max_issues_repo_name": "mrsWeasel/Tuomas-Kallinen-Website", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/src/smooth-scrolling.js", "max_forks_repo_name": "mrsWeasel/Tuomas-Kallinen-Website", "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": 25.4705882353, "max_line_length": 52, "alphanum_fraction": 0.6420323326}
(function($) {
// Smooth scrolling for one page navigation links
	jQuery('#scroll-icon').on('click', function (e) {
		e.stopPropagation();
		e.preventDefault();

		var targetLink = this.hash;

		jQuery('html, body').stop().animate({
			// that 15 px tall body::before pseudo element
			'scrollTop': jQuery(targetLink).offset().top - 15
		}, 900, 'swing'/*, function() {
			window.location.hash = targetLink;
		}*/);

	});
})(jQuery);