From 898969a17b90f9c11af78ad268bb3accbb090654 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 12 Jun 2023 16:55:42 -0300 Subject: content: misc. code style updates --- src/content/dependencies/linkThing.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'src/content/dependencies/linkThing.js') diff --git a/src/content/dependencies/linkThing.js b/src/content/dependencies/linkThing.js index 03aa9836..4ebf4d76 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'}, }, -- cgit 1.3.0-6-gf8a5