1(function ($) { 2 "use strict"; 3 4 $(window).load(function () { 5 thim_sc_brands.init(); 6 }); 7 8 9 var thim_sc_brands = window.thim_sc_brands = { 10 11 init: function () { 12 13 var $thim_brands = $('.thim-brands'); 14 15 $thim_brands.each(function () { 16 var items_visible = $(this).attr('data-items-visible'), 17 items_tablet = $(this).attr('data-items-tablet'), 18 items_mobile = $(this).attr('data-items-mobile'); 19 20 var navigation = ($(this).attr('data-nav') == 'yes') ? true : false; 21 var rtlval = false; 22 if($('body').hasClass('rtl')) { 23 var rtlval = true; 24 } 25 $(this).find('.owl-carousel').owlCarousel({ 26 dots: navigation, 27 rtl: rtlval, 28 responsive: { 29 0 : { 30 items: items_mobile, 31 }, 32 600 : { 33 items: 2, 34 }, 35 768 : { 36 items: items_tablet, 37 }, 38 1200: { 39 items: items_visible, 40 } 41 }, 42 } 43 ) 44 }) 45 } 46 } 47 48})(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.