« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/language.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/data/things/language.js')
-rw-r--r--src/data/things/language.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/data/things/language.js b/src/data/things/language.js
index 7755c505..0638afa2 100644
--- a/src/data/things/language.js
+++ b/src/data/things/language.js
@@ -1,11 +1,9 @@
+import {isLanguageCode} from '#validators';
+
 import Thing from './thing.js';
 
 export class Language extends Thing {
-  static [Thing.getPropertyDescriptors] = ({
-    validators: {
-      isLanguageCode,
-    },
-  }) => ({
+  static [Thing.getPropertyDescriptors] = () => ({
     // Update & expose
 
     // General language code. This is used to identify the language distinctly