From e8cbe466597dfdd95d5f9212d74ca4f821b497be Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Wed, 22 Jul 2020 20:27:10 +0200 Subject: [PATCH] Remove old code --- src/core.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core.js b/src/core.js index 8f61156..4b02e0a 100644 --- a/src/core.js +++ b/src/core.js @@ -3,7 +3,7 @@ document.addEventListener('DOMContentLoaded', () => { //=== // VARIABLES //=== - const EVENTS = ['is-click', 'is-scroll-up', 'is-scroll-down', 'is-hover', 'is-view', 'is-visible', 'is-not-visible']; + const EVENTS = ['is-click', 'is-scroll-up', 'is-scroll-down', 'is-hover', 'is-visible', 'is-not-visible']; const FUNCTION_TREE = { 'class': ['add', 'remove', 'toggle'] }; @@ -255,7 +255,6 @@ document.addEventListener('DOMContentLoaded', () => { switch(params.functionChild) { case 'add': element.classList.add(params.value); - console.log('date') break; case 'remove': element.classList.remove(params.value);