« 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
diff options
context:
space:
mode:
Diffstat (limited to 'src/data')
-rw-r--r--src/data/things/composite.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data/things/composite.js b/src/data/things/composite.js
index da2848f8..c0f0ab0b 100644
--- a/src/data/things/composite.js
+++ b/src/data/things/composite.js
@@ -752,6 +752,9 @@ export function templateCompositeFrom(description) {
 
 templateCompositeFrom.symbol = Symbol();
 
+export const continuationSymbol = Symbol.for('compositeFrom: continuation symbol');
+export const noTransformSymbol = Symbol.for('compositeFrom: no-transform symbol');
+
 export function compositeFrom(description) {
   const {annotation} = description;
 
@@ -1070,9 +1073,6 @@ export function compositeFrom(description) {
     return {continuation, continuationStorage};
   }
 
-  const continuationSymbol = Symbol.for('compositeFrom: continuation symbol');
-  const noTransformSymbol = Symbol.for('compositeFrom: no-transform symbol');
-
   function _computeOrTransform(initialValue, continuationIfApplicable, initialDependencies) {
     const expectingTransform = initialValue !== noTransformSymbol;