1jQuery(document).ready(function($) { 2 'use strict'; 3 // Initialize Owl Carousel for all sliders with the 'testimonial-slider' class 4 $('.testimonial-slider').each(function() { 5 var $this = $(this); // The current slider instance 6 7 // Initialize Owl Carousel with values from data-* attributes 8 $this.owlCarousel({ 9 lazyLoad: true, 10 items: $this.data('items'), // Get data-items 11 loop: $this.data('loop'), // Get data-loop 12 margin: $this.data('margin'), // Get data-margin 13 autoplay: $this.data('autoplay'), // Get data-autoplay 14 autoplaySpeed: $this.data('autoplay-speed'), // Get data-autoplay-speed 15 autoplayTimeout: $this.data('autoplay-timeout'), // Get data-autoplay-timeout 16 autoplayHoverPause: $this.data('stop-hover'), // Get data-stop-hover 17 nav: true, 18 dots: true, 19 navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'], 20 smartSpeed: 450, 21 responsive: { 22 0: { items: $this.data('itemsmobile') }, // Get data-itemsmobile 23 678: { items: $this.data('itemsdesktopsmall') }, // Get data-itemsdesktopsmall 24 980: { items: $this.data('itemsdesktop') }, // Get data-itemsdesktop 25 1199: { items: $this.data('items') } // Get data-items (default for large screens) 26 } 27 }); 28 }); 29});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.