diff options
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 |
commit | 898969a17b90f9c11af78ad268bb3accbb090654 (patch) | |
tree | b48947329374e685a7a5db026c28428301f74426 /src/content/dependencies/linkThing.js | |
parent | 45895eee6b93a40f433a442d13829d1339f82801 (diff) |
content: misc. code style updates
Diffstat (limited to 'src/content/dependencies/linkThing.js')
-rw-r--r-- | src/content/dependencies/linkThing.js | 12 |
1 files changed, 2 insertions, 10 deletions
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'}, }, |