From 3504aa148538196ff45e16dc85c77c48344fa75c Mon Sep 17 00:00:00 2001 From: mostafaei2002 Date: Tue, 28 May 2024 18:27:22 +0330 Subject: [PATCH] fix: optimize js and remove unnecessary imports --- docs_theme/src/js/main.js | 16 ++++++++-------- docs_theme/src/scss/styles.scss | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs_theme/src/js/main.js b/docs_theme/src/js/main.js index 6340fc530..3211f4d24 100644 --- a/docs_theme/src/js/main.js +++ b/docs_theme/src/js/main.js @@ -1,15 +1,15 @@ -import "../../node_modules/bootstrap/js/dist/alert"; +// import "../../node_modules/bootstrap/js/dist/alert"; import "../../node_modules/bootstrap/js/dist/button"; -import "../../node_modules/bootstrap/js/dist/carousel"; +// import "../../node_modules/bootstrap/js/dist/carousel"; import "../../node_modules/bootstrap/js/dist/collapse"; import "../../node_modules/bootstrap/js/dist/dropdown"; import "../../node_modules/bootstrap/js/dist//modal"; -import "../../node_modules/bootstrap/js/dist/offcanvas"; -import "../../node_modules/bootstrap/js/dist/popover"; -import "../../node_modules/bootstrap/js/dist/scrollspy"; -import "../../node_modules/bootstrap/js/dist/tab"; -import "../../node_modules/bootstrap/js/dist/toast"; -import "../../node_modules/bootstrap/js/dist/tooltip"; +// import "../../node_modules/bootstrap/js/dist/offcanvas"; +// import "../../node_modules/bootstrap/js/dist/popover"; +// import "../../node_modules/bootstrap/js/dist/scrollspy"; +// import "../../node_modules/bootstrap/js/dist/tab"; +// import "../../node_modules/bootstrap/js/dist/toast"; +// import "../../node_modules/bootstrap/js/dist/tooltip"; import "../scss/styles.scss"; diff --git a/docs_theme/src/scss/styles.scss b/docs_theme/src/scss/styles.scss index 3a8a927d9..74bd96994 100644 --- a/docs_theme/src/scss/styles.scss +++ b/docs_theme/src/scss/styles.scss @@ -24,7 +24,7 @@ $code-color: #d14; @import "../../node_modules/bootstrap/scss/type"; @import "../../node_modules/bootstrap/scss/images"; @import "../../node_modules/bootstrap/scss/containers"; -// @import "../../node_modules/bootstrap/scss/grid"; +@import "../../node_modules/bootstrap/scss/grid"; // @import "../../node_modules/bootstrap/scss/tables"; // @import "../../node_modules/bootstrap/scss/forms"; @import "../../node_modules/bootstrap/scss/buttons";