1(function($) { 2 3 /*======================================================================// 4 // script.js // 5 //======================================================================*/ 6 7 $(document).ready(function() { 8 // code goes here 9 }); 10 11 12 13 $(window).on('load', function() { 14 // code goes here 15 }); 16 17 /*======================================================================// 18 // END script.js // 19 //======================================================================*/ 20 21 STOM.slickSliderHandler = function() { 22 if (!$('.stom-simple-slider').length) return; 23 24 if (jQuery.fn.slick) { 25 $('.stom-simple-slider').slick({ 26 dots: true, 27 prevArrow: '<button type="button" class="slick-prev">' + stomFaIcons.slick.buttonPrev + '</button>', 28 nextArrow: '<button type="button" class="slick-next">' + stomFaIcons.slick.buttonNext + '</button>', 29 lazyLoad: 'progressive', 30 speed: 175, 31 slidesToShow: 4, 32 autoplaySpeed: 2000, 33 dots: false, 34 infinite: true, 35 autoplay: true, 36 draggable: false, 37 responsive: [{ 38 breakpoint: 960, 39 settings: { 40 arrows: true, 41 centerMode: false, 42 slidesToShow: 3 43 } 44 }, 45 { 46 breakpoint: 768, 47 settings: { 48 arrows: true, 49 centerMode: false, 50 slidesToShow: 3 51 } 52 }, 53 { 54 breakpoint: 480, 55 settings: { 56 arrows: true, 57 centerMode: false, 58 slidesToShow: 2 59 } 60 } 61 ] 62 }); 63 } else { 64 pre('Slick Slider Could\'t Initialize'); 65 } 66 } 67 STOM.slickSliderHandler(); 68 69 70 // Grid slider 71 $('.product-slide .grid-elements').slick({ 72 dots: true, 73 infinite: true, 74 slidesToShow: 4, 75 slidesToScroll: 4, 76 autoplay: true, 77 autoplaySpeed: 5000, 78 adaptiveHeight: true, 79 prevArrow: '<button type="button" class="slick-prev">' + stomFaIcons.slick.buttonPrev + '</button>', 80 nextArrow: '<button type="button" class="slick-next">' + stomFaIcons.slick.buttonNext + '</button>', 81 lazyLoad: 'progressive', 82 arrows: false, 83 speed: 175, 84 draggable: false, 85 responsive: [{ 86 breakpoint: 1201, 87 settings: { 88 slidesToShow: 3, 89 slidesToScroll: 3, 90 autoplay: true, 91 autoplaySpeed: 2500 92 } 93 }, 94 { 95 breakpoint: 1000, 96 settings: { 97 slidesToShow: 3, 98 autoplay: true, 99 autoplaySpeed: 2500 100 } 101 }, 102 { 103 breakpoint: 768, 104 settings: { 105 slidesToShow: 2, 106 slidesToScroll: 2, 107 centerMode: false, 108 autoplay: true, 109 autoplaySpeed: 2500 110 } 111 } 112 ] 113 }); 114 115 116 // stom post slider 117 $('.new-stom-posts.columns-1').slick({ 118 dots: true, 119 infinite: true, 120 slidesToShow: 4, 121 slidesToScroll: 4, 122 autoplay: true, 123 autoplaySpeed: 5000, 124 adaptiveHeight: true, 125 prevArrow: '<button type="button" class="slick-prev">' + stomFaIcons.slick.buttonPrev + '</button>', 126 nextArrow: '<button type="button" class="slick-next">' + stomFaIcons.slick.buttonNext + '</button>', 127 lazyLoad: 'progressive',
128 arrows: false, 129 speed: 175, 130 draggable: false, 131 responsive: [{ 132 breakpoint: 1401, 133 settings: { 134 slidesToShow: 3, 135 slidesToScroll: 3, 136 autoplay: true, 137 autoplaySpeed: 2500 138 } 139 }, 140 { 141 breakpoint: 1000, 142 settings: { 143 slidesToShow: 3, 144 autoplay: true, 145 autoplaySpeed: 2500 146 } 147 }, 148 { 149 breakpoint: 800, 150 settings: { 151 slidesToShow: 2, 152 slidesToScroll: 2, 153 centerMode: false, 154 autoplay: true, 155 autoplaySpeed: 2500 156 }, 157 }, 158 { 159 breakpoint: 550, 160 settings: { 161 slidesToShow: 1, 162 slidesToScroll: 1, 163 centerMode: false, 164 autoplay: true, 165 autoplaySpeed: 2500 166 } 167 } 168 169 ] 170 }); 171 172 /*======================================================================// 173 // woocommerce.js // 174 //======================================================================*/ 175 176 $(document).ready(function() { 177 // code goes here 178 }); 179 180 181 182 $(window).on('load', function() { 183 // code goes here 184 }); 185 186 /*======================================================================// 187 // END woocommerce.js // 188 //======================================================================*/ 189 190})(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.