{"size": 526, "ext": "js", "max_stars_repo_path": "src/js/menu.js", "max_stars_repo_name": "Lunik/lunik.xyz-4.0", "max_stars_repo_stars_event_min_datetime": "2016-02-01T10:41:21.000Z", "max_stars_repo_stars_event_max_datetime": "2016-02-01T10:41:21.000Z", "max_issues_repo_path": "src/js/menu.js", "max_issues_repo_name": "Lunik/lunik.xyz-4.0", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/js/menu.js", "max_forks_repo_name": "Lunik/lunik.xyz-4.0", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.9090909091, "max_line_length": 69, "alphanum_fraction": 0.6311787072}
$('.menu-open').click(function(){
	$('.menu').addClass('open');
});

$('.menu-close').click(function(){
	$('.menu').removeClass('open');
});

$('.menu-link').click(function(){
	$('.menu').removeClass('open');
});

$(window).bind('hashchange',changeCurrentMenu).trigger('hashchange');

function changeCurrentMenu(data){
	var hash = window.location.hash.substring(1);
	$('.menu li').removeClass('active');
	$('.menu li#'+hash).addClass('active');

	$('.content').removeClass('active');
	$('.content#'+hash).addClass('active');
}