1 | (function($) { |
||
2 | $(document).ready(function () { |
||
3 | var swiper = new Swiper('#banner-slider', { |
||
0 ignored issues
–
show
|
|||
4 | loop: true, |
||
5 | centeredSlides: true, |
||
6 | autoplay: { |
||
7 | delay: 5000, |
||
8 | disableOnInteraction: false, |
||
9 | }, |
||
10 | pagination: { |
||
11 | el: '.swiper-pagination', |
||
12 | clickable: true, |
||
13 | }, |
||
14 | navigation: { |
||
15 | nextEl: '.swiper-button-next', |
||
16 | prevEl: '.swiper-button-prev', |
||
17 | }, |
||
18 | }); |
||
19 | }); |
||
20 | })(jQuery); |
||
21 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.