1jQuery(document).ready(function($) { 2 var masnoryContainer = $(".grid-post-parent-gosign"); 3 masnoryContainer.each(function() { 4 var sliderSettings = { 5 dots: $(this).data("enabledots") ? $(this).data("enabledots") : false, 6 infinite: $(this).data("infinite") ? $(this).data("infinite") : false, 7 slidesToShow: $(this).data("slidestoshow") ? $(this).data("slidestoshow") : 1, 8 slidesToScroll: $(this).data("slidestoscroll") ? $(this).data("slidestoscroll") : 1, 9 fade: $(this).data("fadeanimation") ? $(this).data("fadeanimation") : false, 10 autoplay:$(this).data("autoplay") ? $(this).data("autoplay") : false, 11 speed: $(this).data("animationspeed") ? $(this).data("animationspeed") : 500, 12 autoplaySpeed: $(this).data("autoplaydelay") ? $(this).data("autoplaydelay") : 500, 13 initialSlide: $(this).data("initialslide") ? $(this).data("initialslide") : 0, 14 lazyLoad: $(this).data("ladzloadslides") ? $(this).data("ladzloadslides") : false, 15 adaptiveHeight: $(this).data("adaptiveheight") ? $(this).data("adaptiveheight") : false, 16 pauseOnHover: $(this).data("pauseonhover") ? $(this).data("pauseonhover") : false, 17 swipeToSlide: $(this).data("swipetoslide") ? $(this).data("swipetoslide") : false, 18 vertical: $(this).data("verticalslider") ? $(this).data("verticalslider") : false, 19 focusOnSelect: $(this).data("focusonselect") ? $(this).data("focusonselect") : false, 20 // rtl: $(this).data("reverseslidescroll") ? $(this).data("reverseslidescroll") : false, //images are not showing due to some bug in js 21 arrows: $(this).data("showarrows") ? $(this).data("showarrows") : false, 22 variableWidth: $(this).data("variablewidth") ? $(this).data("variablewidth") : false, 23 centerMode: $(this).data("centermode") ? $(this).data("centermode") : false, 24 cssEase: $(this).data("cssease") ? $(this).data("cssease") : "linear" , 25 dotsClass: "slick-dots "+ ($(this).data("sliderdotsclass") ? $(this).data("sliderdotsclass") : ""), 26 } 27 if($(this).data("responsivesettings")){ 28 sliderSettings["responsive"] = [ 29 { 30 breakpoint : 1024, 31 settings: { 32 slidesToShow: $(this).data("deskslidestoshow") ? $(this).data("deskslidestoshow") : 1, 33 slidesToScroll: $(this).data("deskslidestoscroll") ? $(this).data("deskslidestoscroll") : 1, 34 arrows: $(this).data("deskarrows") ? $(this).data("deskarrows") : false, 35 dots: $(this).data("deskdots") ? $(this).data("deskdots") : false 36 } 37 }, 38 { 39 breakpoint : 600, 40 settings: { 41 slidesToShow: $(this).data("tabslidestoshow") ? $(this).data("tabslidestoshow") : 1, 42 slidesToScroll: $(this).data("tabslidestoscroll") ? $(this).data("tabslidestoscroll") : 1, 43 arrows: $(this).data("tabarrows") ? $(this).data("tabarrows") : false, 44 dots: $(this).data("tabdots") ? $(this).data("tabdots") : false 45 } 46 }, 47 { 48 breakpoint : 480, 49 settings: { 50 slidesToShow: $(this).data("mobslidestoshow") ? $(this).data("mobslidestoshow") : 1, 51 slidesToScroll: $(this).data("mobslidestoscroll") ? $(this).data("mobslidestoscroll") : 1, 52 arrows: $(this).data("mobarrows") ? $(this).data("mobarrows") : false, 53 dots: $(this).data("mobdots") ? $(this).data("mobdots") : false 54 } 55 } 56 ] 57 } 58 $(this).slick(sliderSettings); 59 }); 60});
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.