1(function($) { 2"use strict"; 3 $(document).ready(function ($) { 4 // Clients Slider 5 var mobile_mode_items = "", 6 tablet_mode_items = "", 7 items = ""; 8 9 $( '.clients' ).each( function() { 10 var mobile_mode_items = $(this).attr('data-mobile-items'), 11 tablet_mode_items = $(this).attr('data-tablet-items'), 12 items = $(this).attr('data-items'), 13 id = $(this).attr('id'); 14 15 $("#" + id + ".clients.owl-carousel").imagesLoaded().owlCarousel({ 16 nav: false, // Show next/prev buttons. 17 items: 2, // The number of items you want to see on the screen. 18 loop: false, // Infinity loop. Duplicate last and first items to get loop illusion. 19 navText: false, 20 margin: 10, 21 autoHeight: false, 22 responsive : { 23 // breakpoint from 0 up 24 0 : { 25 items: mobile_mode_items, 26 }, 27 // breakpoint from 768 up 28 768 : { 29 items: tablet_mode_items, 30 }, 31 1200 : { 32 items: items, 33 } 34 } 35 }); 36 }); 37 }); 38})(jQuery);
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.