« get me outta code hell

data: dynamicThingsFromReferenceList -> resolvedReferenceList - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/data/things/thing.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-09-06 15:22:58 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-06 15:22:58 -0300
commit2d7c536ee91a8f5bf8f16db1fc2d0a4d8bb4fc85 (patch)
tree21cb39f3e65cd058259f8f9e3e4be8834ea93b76 /src/data/things/thing.js
parent137bd813980d77441a86303ac6c04b61d9ccb8da (diff)
data: dynamicThingsFromReferenceList -> resolvedReferenceList
Diffstat (limited to 'src/data/things/thing.js')
-rw-r--r--src/data/things/thing.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/data/things/thing.js b/src/data/things/thing.js
index 9f77c3f..f36b08b 100644
--- a/src/data/things/thing.js
+++ b/src/data/things/thing.js
@@ -193,14 +193,14 @@ export default class Thing extends CacheableObject {
     // Corresponding dynamic property to referenceList, which takes the values
     // in the provided property and searches the specified wiki data for
     // matching actual Thing-subclass objects.
-    dynamicThingsFromReferenceList(
-      refList,
+    resolvedReferenceList({
+      list,
       data,
-      findFunction
-    ) {
-      return Thing.composite.from(`Thing.common.dynamicThingsFromReferenceList`, [
+      find: findFunction,
+    }) {
+      return Thing.composite.from(`Thing.common.resolvedReferenceList`, [
         Thing.composite.withResolvedReferenceList({
-          refList,
+          list,
           data,
           to: '#things',
           find: findFunction,