From 1d51381bc2f6602dfc9d12adf4fef188351776af Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Fri, 30 Dec 2022 11:25:38 +0000
Subject: [PATCH] cleanup js logs

---
 assets/js/search.js    |    3 ---
 assets/js/variables.js |    2 --
 exampleSite/go.mod     |    2 +-
 exampleSite/go.sum     |    2 ++
 4 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/assets/js/search.js b/assets/js/search.js
index 614efe9..19e6396 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -2,8 +2,6 @@
   let searchKeys = ['title', 'id', 'link', 'body', 'section'];
   searchKeys = searchKeys.concat(otherSearchableFields);
 
-  console.log(searchKeys);
-
   const searchPageElement = elem('#searchpage');
 
   const searchOptions = {
@@ -119,7 +117,6 @@
       searchField.addEventListener('input', function() {
         const searchTerm = searchField.value.trim().toLowerCase();
         search(searchTerm, searchScope);
-        // console.log(searchTerm);
       });
 
       if(!searchPageElement) {
diff --git a/assets/js/variables.js b/assets/js/variables.js
index 1b5fd88..2cf5776 100644
--- a/assets/js/variables.js
+++ b/assets/js/variables.js
@@ -26,8 +26,6 @@
   otherSearchableFields = [];
 }
 
-console.log(otherSearchableFields);
-
 // defined in i18n / translation files
 const quickLinks = '{{ T "quick_links" }}';
 const searchResultsLabel = '{{ T "search_results_label" }}';
diff --git a/exampleSite/go.mod b/exampleSite/go.mod
index efea2d1..7770c83 100644
--- a/exampleSite/go.mod
+++ b/exampleSite/go.mod
@@ -2,4 +2,4 @@
 
 go 1.15
 
-require github.com/onweru/compose v0.0.0-20221229203731-77cbaaa296ce // indirect
+require github.com/onweru/compose v0.0.0-20221230112033-882a2a3d9d3b // indirect
diff --git a/exampleSite/go.sum b/exampleSite/go.sum
index e51acf6..a4cb480 100644
--- a/exampleSite/go.sum
+++ b/exampleSite/go.sum
@@ -214,3 +214,5 @@
 github.com/onweru/compose v0.0.0-20220613160631-5be4d7fe9437/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc=
 github.com/onweru/compose v0.0.0-20221229203731-77cbaaa296ce h1:SAap40G3K+QdFacjBWcgfMj7Qyv8T9qXvfAKTGGrMyk=
 github.com/onweru/compose v0.0.0-20221229203731-77cbaaa296ce/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc=
+github.com/onweru/compose v0.0.0-20221230112033-882a2a3d9d3b h1:WDFor/3L6oMz8V+F1WMopxWPw2Cqdak2wA8vRr0Fdkk=
+github.com/onweru/compose v0.0.0-20221230112033-882a2a3d9d3b/go.mod h1:tf1kQIBUcwJ/3mRFU5eiMrMvsDScVTK2IEFsZE3hZOc=

--
Gitblit v1.10.0