From 7933e15de0590f4e0b7c4fddc6bb899215e90df1 Mon Sep 17 00:00:00 2001 From: phucbm Date: Fri, 29 Sep 2023 11:53:18 +0700 Subject: [PATCH] chore: clean up --- src/_index.js | 2 +- src/configs.js | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/_index.js b/src/_index.js index 49fb22b..3710d9f 100644 --- a/src/_index.js +++ b/src/_index.js @@ -151,7 +151,7 @@ export class EasyTabAccordion{ // only open when is currently closing if(isStrict && panel.active){ - console.warn(`openPanel(${panelId}) does not run as the panel is already opened!`); + log(this, 'warn', `openPanel(${panelId}) does not run as the panel is already opened!`); return; } diff --git a/src/configs.js b/src/configs.js index 0db4604..f9c2d67 100644 --- a/src/configs.js +++ b/src/configs.js @@ -1,11 +1,8 @@ -import {uniqueId} from './utils' - /** * Classes * */ export const CLASSES = { enabled: 'easy-tab-accordion-enabled', - active: 'active', hasAssignedTriggerEvent: 'assigned-trigger-event', }; /**