1/** 2 * Copyright ETS Software Technology Co., Ltd 3 * 4 * NOTICE OF LICENSE 5 * 6 * This file is not open source! Each license that you purchased is only available for 1 website only. 7 * If you want to use this file on more websites (or projects), you need to purchase additional licenses. 8 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party. 9 * 10 * DISCLAIMER 11 * 12 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer 13 * versions in the future. 14 * 15 * @author ETS Software Technology Co., Ltd 16 * @copyright ETS Software Technology Co., Ltd 17 * @license Valid for 1 website (or project) for each purchase of license 18 */ 19$(document).ready(function(){ 20 runowl(); 21}); 22$(document).on('hooksLoaded',function(){ 23 runowl(); 24}); 25function runowl() 26{ 27 if ( $('.ybc_blog_rtl_mode').length > 0 ){ 28 var rtl_blog = true; 29 30 } else { 31 var rtl_blog = false; 32 } 33 if ($('.page_home.ybc_block_slider .blog_type_slider:not(.slick-initialized)').length > 0) { 34 $('.page_home.ybc_block_slider .blog_type_slider:not(.slick-initialized)').slick({ 35 dots: false, 36 infinite: false, 37 speed: 300, 38 arrows: true, 39 slidesToShow: number_home_posts_per_row, 40 responsive: [ 41 { 42 breakpoint: 1200, 43 settings: { 44 slidesToShow: number_home_posts_per_row, 45 infinite: true, 46 } 47 }, 48 { 49 breakpoint: 1024, 50 settings: { 51 slidesToShow: 3, 52 infinite: true, 53 } 54 }, 55 { 56 breakpoint: 600, 57 settings: { 58 slidesToShow: 2, 59 } 60 }, 61 { 62 breakpoint: 480, 63 settings: { 64 slidesToShow: 1, 65 } 66 } 67 ] 68 }); 69 } 70 if ($('.page_home_gallery.ybc_block_slider .blog_type_slider:not(.slick-initialized)').length > 0) 71 $('.page_home_gallery.ybc_block_slider .blog_type_slider:not(.slick-initialized)').slick({ 72 slidesToShow: 6, 73 arrows: true, 74 rtl: rtl_blog, 75 dots: false, 76 autoplay: false, 77 responsive: [ 78 { 79 breakpoint: 1200, 80 settings: { 81 slidesToShow: 6, 82 } 83 }, 84 { 85 breakpoint: 992, 86 settings: { 87 slidesToShow: 5, 88 } 89 }, 90 { 91 breakpoint: 768, 92 settings: { 93 slidesToShow: 4, 94 } 95 }, 96 { 97 breakpoint: 400, 98 settings: { 99 slidesToShow: 3, 100 } 101 } 102 ] 103 }); 104 }
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.