mirror of https://github.com/onweru/compose.git

weru
30.23.2022 1d51381bc2f6602dfc9d12adf4fef188351776af
cleanup js logs

Signed-off-by: weru <fromweru@gmail.com>
4 files modified
9 ■■■■■ changed files
assets/js/search.js 3 ●●●●● patch | view | raw | blame | history
assets/js/variables.js 2 ●●●●● patch | view | raw | blame | history
exampleSite/go.mod 2 ●●● patch | view | raw | blame | history
exampleSite/go.sum 2 ●●●●● patch | view | raw | blame | history
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) {
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" }}';
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
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=