<commit_before>{
    transition_delay: 1000
}/*!
 * Start Bootstrap - Agnecy Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

// jQuery for page scrolling feature - requires jQuery Easing plugin
$(function() {
    $('a.page-scroll').bind('click', function(event) {
        var $anchor = $(this);
        $('html, body').stop().animate({
            scrollTop: $($anchor.attr('href')).offset().top
        }, 1500, 'easeInOutExpo');
        event.preventDefault();
    });
});

// Highlight the top nav as scrolling occurs
$('body').scrollspy({
    target: '.navbar-fixed-top'
})

// Closes the Responsive Menu on Menu Item Click
$('.navbar-collapse ul li a').click(function() {
    $('.navbar-toggle:visible').click();
});

$('div.modal').on('show.bs.modal', function() {
	var modal = this;
	var hash = modal.id;
	window.location.hash = hash;
	window.onhashchange = function() {
		if (!location.hash){
			$(modal).modal('hide');
		}
	}
});

$('.skills-box').waypoint({
    handler: function(event, direction) {
        $('.progress .progress-bar').progressbar({});
    },
    offset: '60%'
});

$(document).ready(function($){
    $('.all-skills').owlCarousel({
        slideSpeed: 400,
         itemsCustom: [
             [0, 4],
             [400, 4],
             [500, 5],
             [620, 6],
             [700, 8],
             [992, 5],
             [1200, 6]
         ],
    });

    var sklData = $('.all-skills').data('owlCarousel');

    var sklTgt = $('.nav-btn').find('.go');
    sklTgt.on('click', function(e){
        e.preventDefault();
        if( $(this).hasClass('go-left') ) {
            sklData.prev();
        } else {
            sklData.next();
        }
    });
});

$(document).ready(
  function() { 
    $("html").niceScroll();
  }
);

var lastScrollTop = 0;
$(window).scroll(function(event){
   var st = $(this).scrollTop();
   if (st > lastScrollTop){
       $('.navbar-toggle:visible').collapse();
       $('nav.navbar').addClass("hide-navbar");
   } else {
       $('nav.navbar').removeClass("hide-navbar");
   }
   lastScrollTop = st;
});

$('document').ready(
  function() {
    new WOW({
      offset: 200,
      mobile: false
    }).init();
  }
);<commit_msg>Hides navigation bar on click<commit_after>{
    transition_delay: 1000
}/*!
 * Start Bootstrap - Agnecy Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

// jQuery for page scrolling feature - requires jQuery Easing plugin

var pageScrollClicked = false;
$(function() {
    $('a.page-scroll').bind('click', function(event) {
        var $anchor = $(this);
        $('html, body').stop().animate({
            scrollTop: $($anchor.attr('href')).offset().top
        }, 1500, 'easeInOutExpo');
        pageScrollClicked = true;
        setTimeout(function(){
          pageScrollClicked = false;
          $('nav.navbar').addClass("hide-navbar");        
        }, 1500);
        event.preventDefault();
    });
});

// Highlight the top nav as scrolling occurs
$('body').scrollspy({
    target: '.navbar-fixed-top'
})

// Closes the Responsive Menu on Menu Item Click
$('.navbar-collapse ul li a').click(function() {
    $('.navbar-toggle:visible').click();
});

$('div.modal').on('show.bs.modal', function() {
	var modal = this;
	var hash = modal.id;
	window.location.hash = hash;
	window.onhashchange = function() {
		if (!location.hash){
			$(modal).modal('hide');
		}
	}
});

$('.skills-box').waypoint({
    handler: function(event, direction) {
        $('.progress .progress-bar').progressbar({});
    },
    offset: '60%'
});

$(document).ready(function($){
    $('.all-skills').owlCarousel({
        slideSpeed: 400,
         itemsCustom: [
             [0, 4],
             [400, 4],
             [500, 5],
             [620, 6],
             [700, 8],
             [992, 5],
             [1200, 6]
         ],
    });

    var sklData = $('.all-skills').data('owlCarousel');

    var sklTgt = $('.nav-btn').find('.go');
    sklTgt.on('click', function(e){
        e.preventDefault();
        if( $(this).hasClass('go-left') ) {
            sklData.prev();
        } else {
            sklData.next();
        }
    });
});

$(document).ready(
  function() { 
    $("html").niceScroll();
  }
);

var lastScrollTop = 0;
$(window).scroll(function(event){
   var st = $(this).scrollTop();
   if (st > lastScrollTop){
       $('.navbar-toggle:visible').collapse();
       $('nav.navbar').addClass("hide-navbar");
   } else {
    if (pageScrollClicked == false){
           $('nav.navbar').removeClass("hide-navbar");
       }
     }
   lastScrollTop = st;
});

$('document').ready(
  function() {
    new WOW({
      offset: 200,
      mobile: false
    }).init();
  }
);
{'fraction_non_alphanumeric': 0.20155197059424138, 'fraction_numerical': 0.020420665713702265, 'mean_word_length': 2.3896193771626297, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5466230', 'n_tokens_mistral': 1674, 'n_tokens_neox': 1552, 'n_words': 315}