You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2020. It is now read-only.
function unblockEvent(){setTimeout(function(){eventFlag=false;},250);}
function isBlockedEvent(){return eventFlag==true;}
function updateLinkClass(hash){$.each(linkList,function(){if(hash==$(this).attr('href')){$(this).addClass('active');}else{$(this).removeClass('active');}});}
function updateWindowPosition(hash){blockEvent();$.each(anchorList,function(){if(hash=='#'+this.data('anchor')){$('html,body').animate({scrollTop:this.offset().top},'250');return false;}});unblockEvent();}
function init(){var hash=window.location.hash;if(hash.length){updateLinkClass(hash);updateWindowPosition(hash);}}
var windowY=window.pageYOffset;$.each(anchorList,function(){if(windowY<=0){window.location.replace('#top');updateLinkClass('#top');return false;}
var thisTop=this.offset().top;if(windowY-20<thisTop&&thisTop<windowY+20&&window.location.hash!='#'+this.data('anchor')){var hash='#'+this.data('anchor');window.location.replace(hash);updateLinkClass(hash);return false;}});});init();})(jQuery);