{"size": 1645, "ext": "js", "max_stars_repo_path": "Eventeam/Scripts/app/custom.js", "max_stars_repo_name": "programulya/Eventeam", "max_stars_repo_stars_event_min_datetime": "2020-05-28T10:21:35.000Z", "max_stars_repo_stars_event_max_datetime": "2020-05-28T10:21:35.000Z", "max_issues_repo_path": "Eventeam/Scripts/app/custom.js", "max_issues_repo_name": "programulya/Eventeam", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Eventeam/Scripts/app/custom.js", "max_forks_repo_name": "programulya/Eventeam", "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": 29.9090909091, "max_line_length": 73, "alphanum_fraction": 0.5744680851}
/* ===== Navbar Search ===== */

$('#navbar-search > a').on('click', function() {
    $('#navbar-search > a > i').toggleClass('fa-search fa-times');
    $("#navbar-search-box").toggleClass('show hidden animated fadeInUp');
    return false;
});

/* ===== Navbar Submenu ===== */

/**
 * Dropdown submenu positioning (left or right)
 */

$('ul.dropdown-menu a[data-toggle=dropdown]').hover(function() {
    var menu = $(this).parent().find("ul");
    var menupos = menu.offset();
    if ((menupos.left + menu.width()) + 30 > $(window).width()) {
        $(this).parent().addClass('pull-left');
    }
    return false;
});

/* ===== Thumbs rating ===== */

$('.rating .voteup').on('click', function() {
    var up = $(this).closest('div').find('.up');
    up.text(parseInt(up.text(), 10) + 1);
    return false;
});
$('.rating .votedown').on('click', function() {
    var down = $(this).closest('div').find('.down');
    down.text(parseInt(down.text(), 10) + 1);
    return false;
});

/* ===== Responsive Showcase ===== */

$('.responsive-showcase ul > li > i').on('click', function() {
    var device = $(this).data('device');
    $('.responsive-showcase ul > li > i').addClass("inactive");
    $(this).removeClass("inactive");
    $('.responsive-showcase img').removeClass("show");
    $('.responsive-showcase img').addClass("hidden");
    $('.responsive-showcase img' + device).toggleClass("hidden show");
    $('.responsive-showcase img' + device).addClass("animated fadeIn");
    return false;
});

/* ===== Services ===== */

$('.service-item').hover(function() {
    $(this).children("i").toggleClass("fa-rotate-90");
    return false;
});