Created
May 10, 2019 11:35
-
-
Save umkasanki/eaec9fdb8b92880dd0539c6fef67bd03 to your computer and use it in GitHub Desktop.
bundle
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as Sentry from '@sentry/browser'; | |
import lozad from 'lozad'; | |
import navBurger from './_partials/_nav-burger'; | |
import cookie from './_partials/_cookie'; | |
import accordion from './_partials/_accordion'; | |
import range from './_partials/_rangeSlider'; | |
import mobileNavAccordion from './_partials/_dropdownNav'; | |
import tabs from './_partials/_tabs'; | |
import featuresTable from './_partials/_featuresTable'; | |
import carousels from './_partials/_carousels'; | |
import * as forms from './_partials/_forms'; | |
Sentry.init({ dsn: 'https://[email protected]/1456349' }); | |
$(document).ready(function() { | |
navBurger('js-toggler'); | |
cookie('js-cookie-bar', 'js-cookie-btn'); | |
range(); | |
accordion('.js-accordion .accordion__label'); | |
mobileNavAccordion('is-active'); | |
tabs('#js-testimonials-btns > *', '#js-testimonials > *'); | |
featuresTable(); | |
carousels(); | |
forms.subscribe('#js-subscribe-form'); | |
const observer = lozad('.lazy', { | |
rootMargin: '300px 0px', | |
threshold: 0.1 | |
}); | |
observer.observe(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment