« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/linkTemplate.js2
-rw-r--r--src/content/dependencies/linkThing.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/content/dependencies/linkTemplate.js b/src/content/dependencies/linkTemplate.js
index f3744bdf..a2448cfe 100644
--- a/src/content/dependencies/linkTemplate.js
+++ b/src/content/dependencies/linkTemplate.js
@@ -18,7 +18,7 @@ export default {
     linkless: {type: 'boolean', default: false},
 
     tooltip: {type: 'string'},
-    attributes: {validate: v => v.isAttributes},
+    attributes: {type: 'attributes'},
     color: {validate: v => v.isColor},
     content: {type: 'html'},
   },
diff --git a/src/content/dependencies/linkThing.js b/src/content/dependencies/linkThing.js
index 1dbd2148..7ce6ed99 100644
--- a/src/content/dependencies/linkThing.js
+++ b/src/content/dependencies/linkThing.js
@@ -45,7 +45,7 @@ export default {
     anchor: {type: 'boolean', default: false},
     linkless: {type: 'boolean', default: false},
 
-    attributes: {validate: v => v.isAttributes},
+    attributes: {type: 'attributes'},
     hash: {type: 'string'},
   },