{"size": 1298, "ext": "js", "max_stars_repo_path": "user/themes/eosc/js/script.js", "max_stars_repo_name": "andrewmassengale/eosc", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "user/themes/eosc/js/script.js", "max_issues_repo_name": "andrewmassengale/eosc", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "user/themes/eosc/js/script.js", "max_forks_repo_name": "andrewmassengale/eosc", "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": 26.4897959184, "max_line_length": 94, "alphanum_fraction": 0.6178736518}
$(function(){
	$("#menu-icon").on("click", function(){
		$(".sf-menu").slideToggle();
		$(this).toggleClass("active");
	});

	if ($('.flexslider').length > 0) {
		$('.flexslider').flexslider({
			animation: "fade",
			slideshow: true,
			slideshowSpeed: 7000,
			animationDuration: 600,
			prevText: "Previous",
			nextText: "Next",
			controlNav: true,
		});
	}

	// IPad/IPhone
	var viewportmeta = document.querySelector && document.querySelector('meta[name="viewport"]'),
    ua = navigator.userAgent,

    gestureStart = function () {
        viewportmeta.content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6";
    },

    scaleFix = function () {
      if (viewportmeta && /iPhone|iPad/.test(ua) && !/Opera Mini/.test(ua)) {
        viewportmeta.content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
        document.addEventListener("gesturestart", gestureStart, false);
      }
    };
	scaleFix();
	// Menu Android
	var userag = navigator.userAgent.toLowerCase();
	var isAndroid = userag.indexOf("android") > -1;
	if(isAndroid) {
		$('.sf-menu').responsiveMenu({autoArrows:true});
	}

	$('a').hover(
		function(){
			$(this).find("img").stop().animate({opacity:'0.5'},200)
		},
		function(){
			$(this).find("img").stop().animate({opacity:'1'},200)
		}
	)
});