{"size": 719, "ext": "js", "max_stars_repo_path": "resources/js/directory_filter.js", "max_stars_repo_name": "mholt/ysaward", "max_stars_repo_stars_event_min_datetime": "2015-09-29T14:05:33.000Z", "max_stars_repo_stars_event_max_datetime": "2017-10-08T18:34:20.000Z", "max_issues_repo_path": "resources/js/directory_filter.js", "max_issues_repo_name": "mholt/ysaward", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "resources/js/directory_filter.js", "max_forks_repo_name": "mholt/ysaward", "max_forks_repo_forks_event_min_datetime": "2015-09-09T05:06:15.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-09T11:28:20.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 4, "avg_line_length": 25.6785714286, "max_line_length": 93, "alphanum_fraction": 0.5869262865}
$(function()
{
	var males = $('.male'), females = $('.female');
	var maleCount = males.length, femaleCount = females.length;
	var allCount = $('#count').text();

	$('#show-guys').change(function()
	{
		$(this).is(':checked') ? males.show() : males.hide();
	});

	$('#show-girls').change(function()
	{
		$(this).is(':checked') ? females.show() : females.hide();
	});

	// Make sure all the visible pictures load; this makes sure that happens (with lazy loading)
	$('#show-guys, #show-girls').change(function()
	{
		var count = 0;
		if ($('#show-guys').is(':checked'))
			count += maleCount;
		if ($('#show-girls').is(':checked'))
			count += femaleCount;
		$('#count').text(count);
		$('img').trigger('unveil');
	});
});