1var FX = ( function( FX, $ ) { 2 3 4 $( () => { 5 FX.HomeLogoCarousel.init() 6 }) 7 8 9 FX.HomeLogoCarousel = { 10 $slider: null, 11 12 init() { 13 this.$slider = $('.js-logo-carousel') 14 15 if( this.$slider.length ) { 16 this.applySlick() 17 } 18 }, 19 20 applySlick() { 21 // TODO configure settings for your slider here (ref: https://github.com/kenwheeler/slick/#settings) 22 // keep in mind, you don't need to declare default values 23 this.$slider.slick( { 24 slidesToShow: 5, 25 slidesToScroll: 1, 26 arrows: true, 27 dots: false, 28 speed: 300, 29 infinite: true, 30 variableWidth: true, 31 responsive: [ 32 { 33 breakpoint: 1200, 34 settings: { 35 slidesToShow: 3, 36 } 37 }, 38 { 39 breakpoint: 767, 40 settings: { 41 variableWidth: false, 42 slidesToShow: 1, 43 } 44 } 45 ] 46 }); 47 } 48 } 49 50 51 52 return FX 53 54} ( FX || {}, 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.