PageSourceSearch

https://baptist.ca/wp-content/plugins/childit-core/childit-addons/assets/js/staffs.js?ver=1790011115

js baptist.ca collected 2026-09-24 10:38:58 UTC 1,710 bytes, 45 lines download raw bytes

1(function ($) {
2    /**
3     * @param $scope The Widget wrapper element as a jQuery element
4     * @param $ The jQuery alias
5     */
6    var staffsSliderHandler = function ($scope, $) {
7
8        $(".teacher-slider").length > 0 && $(".teacher-slider").each(function () {
9            var slideShow = $(this).attr('data-show-count') * 1;
10            var slideShowMd = $(this).attr('data-show-count-md') * 1;
11            var slideShowMob = $(this).attr('data-show-count-mob') * 1;
12            var slideSpeed = $(this).attr('data-slick-speed') * 1;
13            var slideAutoplay = $.parseJSON($(this).attr('data-slick-autoplay'));
14            $(this).slick({
15                arrows: false,
16                dots: true,
17                infinite: true,
18                adaptiveHeight: true,
19                slidesToShow: slideShow,
20                slidesToScroll: 1,
21                autoplay: slideAutoplay,
22                autoplaySpeed: slideSpeed,
23                responsive: [
24                    {
25                        breakpoint: 1200,
26                        settings: {
27                            slidesToShow: slideShowMd
28                        }
29                    },
30                    {
31                        breakpoint: 705,
32                        settings: {
33                            slidesToShow: slideShowMob
34                        }
35                    }
36                ]
37            });
38        });
39
40    };
41    // Make sure you run this code under Elementor.
42    $(window).on('elementor/frontend/init', function () {
43        elementorFrontend.hooks.addAction('frontend/element_ready/staffs.default', staffsSliderHandler);
44    });
45})(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.