1let Categories; 2 3Categories = (function() { 4 function Categories() {} 5 6 Categories.prototype.init = function() { 7 if (!$(".cat_items").length) { 8 return; 9 } 10 this.set_sliders(); 11 }; 12 13 Categories.prototype.set_sliders = function() { 14 $('.cat_items .scroller').flickity({ 15 cellSelector: '.item', 16 contain: window.app.is_mobile(), 17 freeScroll: false, 18 friction: window.app.is_mobile() ? 0.8 : 0.28, 19 imagesLoaded: true, 20 pageDots: true, 21 percentPosition: window.app.is_mobile(), 22 prevNextButtons: !window.app.is_mobile(), 23 selectedAttraction: window.app.is_mobile() ? 0.2 : 0.025 24 }); 25 $('.hp_essentials .scroller').flickity({ 26 cellSelector: '.item', 27 contain: window.app.is_mobile(), 28 freeScroll: true, 29 friction: window.app.is_mobile() ? 0.8 : 0.28, 30 imagesLoaded: true, 31 pageDots: false, 32 percentPosition: window.app.is_mobile(), 33 prevNextButtons: !window.app.is_mobile(), 34 selectedAttraction: window.app.is_mobile() ? 0.2 : 0.025 35 }); 36 if (window.app.is_mobile()) { 37 $('.slick-prev', '.slick-next').hide(); 38 } 39 }; 40 41 return Categories; 42 43})(); 44 45window.app.categories = new Categories;
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.