« get me outta code hell

content: generateIconForURL -> linkExternalAsIcon - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-03-29 18:05:32 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-03-29 18:05:32 -0300
commitbee8e687a3e332203d31ad88a107f1ec9fa125aa (patch)
treec907e481361e5952ca14c67f499aef5c6d3ac567 /src/content/dependencies
parent0e7e812ac63813c04e4e4f0cb00f734a6f44dc46 (diff)
content: generateIconForURL -> linkExternalAsIcon
Diffstat (limited to 'src/content/dependencies')
-rw-r--r--src/content/dependencies/generateContributionLinks.js4
-rw-r--r--src/content/dependencies/linkExternalAsIcon.js (renamed from src/content/dependencies/generateIconForURL.js)0
2 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/generateContributionLinks.js b/src/content/dependencies/generateContributionLinks.js
index 18bc409d..c035c271 100644
--- a/src/content/dependencies/generateContributionLinks.js
+++ b/src/content/dependencies/generateContributionLinks.js
@@ -3,7 +3,7 @@ import {empty} from '../../util/sugar.js';
 export default {
   contentDependencies: [
     'linkArtist',
-    'generateIconForURL',
+    'linkExternalAsIcon',
   ],
 
   extraDependencies: [
@@ -21,7 +21,7 @@ export default {
       relations.artistIcons =
         contributions.map(({who}) =>
           who.urls.map(url =>
-            relation('generateIconForURL', url)));
+            relation('linkExternalAsIcon', url)));
     }
 
     return relations;
diff --git a/src/content/dependencies/generateIconForURL.js b/src/content/dependencies/linkExternalAsIcon.js
index 4473ccbf..4473ccbf 100644
--- a/src/content/dependencies/generateIconForURL.js
+++ b/src/content/dependencies/linkExternalAsIcon.js