« get me outta code hell

data: flash: remove Jump, Jump Color - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-03 13:41:46 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-04-03 13:44:01 -0300
commit26e991202ba6978e29a939212f4055ec3bd5dcee (patch)
tree63507b8a860aae6f055634a913a0bf80635c3313 /src
parent24086e482e67cd4ad9011776a225e8e784f26b74 (diff)
data: flash: remove Jump, Jump Color
Diffstat (limited to 'src')
-rw-r--r--src/data/checks.js1
-rw-r--r--src/data/things/flash.js15
2 files changed, 0 insertions, 16 deletions
diff --git a/src/data/checks.js b/src/data/checks.js
index d42146d4..3c8f6f92 100644
--- a/src/data/checks.js
+++ b/src/data/checks.js
@@ -485,7 +485,6 @@ export function reportContentTextErrors(wikiData, {
     }],
 
     ['flashActData', {
-      jump: '_content',
       listTerminology: '_content',
     }],
 
diff --git a/src/data/things/flash.js b/src/data/things/flash.js
index c311a57b..5500707d 100644
--- a/src/data/things/flash.js
+++ b/src/data/things/flash.js
@@ -181,18 +181,6 @@ export class FlashAct extends Thing {
     color: color(),
     listTerminology: contentString(),
 
-    jump: contentString(),
-
-    jumpColor: {
-      flags: {update: true, expose: true},
-      update: {validate: isColor},
-      expose: {
-        dependencies: ['color'],
-        transform: (jumpColor, {color}) =>
-          jumpColor ?? color,
-      }
-    },
-
     flashes: referenceList({
       class: input.value(Flash),
       find: input.value(find.flash),
@@ -232,9 +220,6 @@ export class FlashAct extends Thing {
       'Color': {property: 'color'},
       'List Terminology': {property: 'listTerminology'},
 
-      'Jump': {property: 'jump'},
-      'Jump Color': {property: 'jumpColor'},
-
       'Review Points': {ignore: true},
     },
   };