Redirect in corso.....
require(['views/home'], function (view) { //console.log(view); view.init(); }); require(['views/_shopForm'], function (view) { //console.log(view); view.init(); }); require(['shared/forms'], function (view) { //console.log(view); view.init(); }); window.onload = function() { var mobileSwiper = new Swiper('#swiper-container_mobile',{ mode: 'horizontal', resizeReInit : 'false', updateOnImagesReady : 'false', autoResize:'false', loop: 'false', autoplay: '7000', pagination : '#mobileSwiperPager', paginationClickable : 'false', createPagination : 'true' }); }