<commit_before>/* Slides */
var winW = window.innerWidth,
    windWResized = winW;

var mySwiper = new Swiper('.swiper-container', {
    loop: true,
    autoplay: 6000,
    effect: 'fade',
    // pagination: '.swiper-pagination',
    paginationClickable: true,
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev'
});

$(function() {
    var swipweHeight = function() {
        swiperHeight = Math.round(window.innerHeight * 0.8); // 80% of winH
        $('.swiper-home .swiper-slide').height(swiperHeight);
    };
    swipweHeight();
});

$(window).on('resize', function() {
    winWResized = window.innerWidth;

    if(winW != winWResized) {
        swipweHeight();
    }
    winW = winWResized;
});
<commit_msg>swiper js<commit_after>/* Slides */
var winW = window.innerWidth,
    windWResized = winW;

var mySwiper = new Swiper('.swiper-container', {
    loop: true,
    autoplay: 6000,
    effect: 'fade',
    // pagination: '.swiper-pagination',
    paginationClickable: true,
    nextButton: '.swiper-button-next',
    prevButton: '.swiper-button-prev'
});

$(function() {

    var swiperHeight = function() {
        slideHeight = Math.round(window.innerHeight * 0.8); // 80% of winH
        $('.swiper-home .swiper-slide').height(slideHeight);
    };

    swiperHeight();

    $(window).on('resize', function() {
        winWResized = window.innerWidth;

        if(winW != winWResized) {
            swiperHeight();
        }
        winW = winWResized;
    });
});
{'fraction_non_alphanumeric': 0.16410940627084722, 'fraction_numerical': 0.01067378252168112, 'mean_word_length': 2.7593984962406015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2539536', 'n_tokens_mistral': 529, 'n_tokens_neox': 507, 'n_words': 95}