« get me outta code hell

content: misc. code style updates - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/linkThing.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-12 16:55:42 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-12 16:55:42 -0300
commit898969a17b90f9c11af78ad268bb3accbb090654 (patch)
treeb48947329374e685a7a5db026c28428301f74426 /src/content/dependencies/linkThing.js
parent45895eee6b93a40f433a442d13829d1339f82801 (diff)
content: misc. code style updates
Diffstat (limited to 'src/content/dependencies/linkThing.js')
-rw-r--r--src/content/dependencies/linkThing.js12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/content/dependencies/linkThing.js b/src/content/dependencies/linkThing.js
index 03aa983..4ebf4d7 100644
--- a/src/content/dependencies/linkThing.js
+++ b/src/content/dependencies/linkThing.js
@@ -1,11 +1,6 @@
 export default {
-  contentDependencies: [
-    'linkTemplate',
-  ],
-
-  extraDependencies: [
-    'html',
-  ],
+  contentDependencies: ['linkTemplate'],
+  extraDependencies: ['html'],
 
   relations(relation) {
     return {
@@ -26,7 +21,6 @@ export default {
   },
 
   slots: {
-    // content: relations.linkTemplate.getSlotDescription('content'),
     content: {type: 'html'},
 
     preferShortName: {type: 'boolean', default: false},
@@ -43,8 +37,6 @@ export default {
 
     anchor: {type: 'boolean', default: false},
 
-    // attributes: relations.linkTemplate.getSlotDescription('attributes'),
-    // hash: relations.linkTemplate.getSlotDescription('hash'),
     attributes: {validate: v => v.isAttributes},
     hash: {type: 'string'},
   },