Temp Eslint fixes
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import anime from 'animejs'
|
||||
import ScrollOut from 'scroll-out'
|
||||
import imagesLoaded from 'imagesloaded'
|
||||
import { animDuration, animDurationLong } from 'utils/store'
|
||||
import { throttle, parallaxAnime } from 'utils/functions'
|
||||
import { parallaxAnime } from 'utils/functions'
|
||||
// import { animDuration, animDurationLong } from 'utils/store'
|
||||
|
||||
|
||||
/*
|
||||
@@ -46,8 +46,8 @@ export const animateIn = scope => {
|
||||
|
||||
// Number parallax on scroll
|
||||
const nbParallaxMedia = window.matchMedia('(min-width: 768px)')
|
||||
const nbParallax = nbParallaxMedia => {
|
||||
if (nbParallaxMedia.matches) {
|
||||
const nbParallax = matchMedia => {
|
||||
if (matchMedia.matches) {
|
||||
const scroll = ScrollOut({
|
||||
targets: scope.querySelector('.photo__number span'),
|
||||
onShown (el) {
|
||||
|
||||
Reference in New Issue
Block a user