« get me outta code hell

data, content, css: FlashAct.{shortName,title,titleColor} - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkFlashActInline.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2026-02-09 18:37:25 -0400
committer(quasar) nebula <qznebula@protonmail.com>2026-02-09 18:38:44 -0400
commite9a68b43a53a1aa1fc5d0f954241261807785fb2 (patch)
tree09ee001ff07900a71ed59f09675ac23f8d7b2ec7 /src/content/dependencies/linkFlashActInline.js
parent3c98e89daad1e312907c6f5f614b44b38f65408e (diff)
data, content, css: FlashAct.{shortName,title,titleColor}
Diffstat (limited to 'src/content/dependencies/linkFlashActInline.js')
-rw-r--r--src/content/dependencies/linkFlashActInline.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/content/dependencies/linkFlashActInline.js b/src/content/dependencies/linkFlashActInline.js
deleted file mode 100644
index ba2a4883..00000000
--- a/src/content/dependencies/linkFlashActInline.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// junk component which only exists because you can't
-// "extend" the slots of underlying linkThing.
-
-export default {
-  relations: (relation, flashAct) => ({
-    link:
-      relation('linkThing', 'localized.flashActGallery', flashAct),
-  }),
-
-  data: (flashAct) => ({
-    name:
-      flashAct.name,
-
-    nameHTML:
-      flashAct.nameHTML,
-  }),
-
-  generate: (data, relations, {html, language}) =>
-    relations.link.slot('content',
-      html.ifelse([
-        html.permit(data.nameHTML, {inline: true}),
-        language.sanitize(data.name),
-      ])),
-};