« get me outta code hell

divide referenced-by lists by configurable groups - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/upd8.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-05-22 12:00:01 -0300
committer(quasar) nebula <qznebula@protonmail.com>2022-05-22 12:00:23 -0300
commitf6bd91ea9beef64e0ff0865560219a64a367bb5b (patch)
tree053700f2bc57d395148d90b77daa6e4e3cb4a849 /src/upd8.js
parent3b542d286f66e54cb10507fb196a61b7b2f1ee94 (diff)
divide referenced-by lists by configurable groups
...instead of hard-coding 'em
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-xsrc/upd8.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/upd8.js b/src/upd8.js
index 394af80..3294ba7 100755
--- a/src/upd8.js
+++ b/src/upd8.js
@@ -92,6 +92,7 @@ import {
     generateCoverLink,
     generateInfoGalleryLinks,
     generatePreviousNextLinks,
+    generateTrackListDividedByGroups,
     getAlbumGridHTML,
     getAlbumStylesheet,
     getArtistString,
@@ -2111,6 +2112,11 @@ async function main() {
                     language
                 });
 
+                bound.generateTrackListDividedByGroups = bindOpts(generateTrackListDividedByGroups, {
+                    language,
+                    wikiData,
+                });
+
                 bound.getGridHTML = bindOpts(getGridHTML, {
                     [bindOpts.bindIndex]: 0,
                     img,