{"size": 1912, "ext": "js", "max_stars_repo_path": "expand/assets/js/expand-right.js", "max_stars_repo_name": "ashwinncj/radel-nav", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "expand/assets/js/expand-right.js", "max_issues_repo_name": "ashwinncj/radel-nav", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "expand/assets/js/expand-right.js", "max_forks_repo_name": "ashwinncj/radel-nav", "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": 43.4545454545, "max_line_length": 94, "alphanum_fraction": 0.5413179916}
$(document).ready(function () {
    $.fn.radelmenu = function () {
        $this = $(this);
        var itemsCount = 0;
        var menuHeight = 0;
        var transitionDelay = 0.2;
        //When menu is closed
        $this.find('.menu-items ul li').each(function () {
            $this.find('.radel-menu-btn img').attr('src', 'assets/img/icons8-menu-500.png');
            $this.find('.radel-menu-close-control').css('width', '0');
            $this.find('.radel-menu-close-control').css('height', '0');
            itemsCount++;
            transitionDelay = transitionDelay - 0.02;
            $(this).css('transition-delay', transitionDelay + 's');
            menuHeight = menuHeight + 45;
        });
        menuHeight = menuHeight + 5;
        //When menu is opened
        transitionDelay = 0.05;
        $this.find('.menu-items').css('transition-delay', '0s');
        $this.find('.activated').css('transition-delay', '0.2s');
        //Activating the marker
        $this.find('.menu-items').toggleClass('activated');
        $this.find('.activated ul li').each(function () {
            $this.find('.radel-menu-btn img').attr('src', 'assets/img/icons8-delete-100.png');
            $this.find('.radel-menu-close-control').css('width', '100vw');
            $this.find('.radel-menu-close-control').css('height', '100vh');
            transitionDelay = transitionDelay + 0.02;
            $(this).css('transition-delay', transitionDelay + 's');
        });

        $this.find('.menu-items').css('height', '0px');
        $this.find('.menu-items li').css('left', '200px');
        $this.find('.activated li').css('left', '-35px');
        $this.find('.activated').css('height', menuHeight + 'px');
    };
    $('.radel-menu-btn').click(function () {
        $('.radelmenu').radelmenu();
    });
    $('.radel-menu-close-control').click(function () {
        $('.radelmenu').radelmenu();
    });
});
