<commit_before>/* global window*/

'use strict';

/*
require('./jqModal.min');

$(window).load(function() {
    $('#modal').jqm({
      trigger: 'a#joinbutton'
    });

    if(window.location.hash && window.location.hash === '#join'){
      $('#modal').jqmShow()
    }

    $('#modal a').click(function() {
      $('#modal').jqmHide();
    });
});
*/

window.$ = window.jQuery = require('jquery');
require('./owl.carousel.min.js');

$(document).ready(function() {
  var $owl = $("#owl-slider");
  $owl.owlCarousel({
    items : 4,
    itemsDesktop : [1199,3],
    itemsDesktopSmall : [979,3],
  });

  $(".next").click(function() {
    $owl.trigger('owl.next');
  });

  $(".prev").click(function() {
    $owl.trigger('owl.prev');
  });

});


window.iOS = /(iPad|iPhone|iPod)/g.test(navigator.userAgent);
if (window.iOS) {
    // iOS doesn't support "background-attachment: fixed", and, in fact, does something weird, instead.
    //$('.fixed-background').removeClass('fixed-background');
    var backgroundElements = document.getElementsByClassName('fixed-background');
    while (backgroundElements.length)
        backgroundElements[0].classList.remove('fixed-background');
}
<commit_msg>reduced carousel to three items<commit_after>/* global window*/

'use strict';

/*
require('./jqModal.min');

$(window).load(function() {
    $('#modal').jqm({
      trigger: 'a#joinbutton'
    });

    if(window.location.hash && window.location.hash === '#join'){
      $('#modal').jqmShow()
    }

    $('#modal a').click(function() {
      $('#modal').jqmHide();
    });
});
*/

window.$ = window.jQuery = require('jquery');
require('./owl.carousel.min.js');

$(document).ready(function() {
  var $owl = $("#owl-slider");
  $owl.owlCarousel({
    items : 3,
    itemsDesktop : [1199,3],
    itemsDesktopSmall : [979,3],
  });

  $(".next").click(function() {
    $owl.trigger('owl.next');
  });

  $(".prev").click(function() {
    $owl.trigger('owl.prev');
  });

});


window.iOS = /(iPad|iPhone|iPod)/g.test(navigator.userAgent);
if (window.iOS) {
    // iOS doesn't support "background-attachment: fixed", and, in fact, does something weird, instead.
    //$('.fixed-background').removeClass('fixed-background');
    var backgroundElements = document.getElementsByClassName('fixed-background');
    while (backgroundElements.length)
        backgroundElements[0].classList.remove('fixed-background');
}

{'fraction_non_alphanumeric': 0.22398001665278935, 'fraction_numerical': 0.009159034138218152, 'mean_word_length': 3.666019417475728, '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': '7015044', 'n_tokens_mistral': 817, 'n_tokens_neox': 771, 'n_words': 122}