solid-ctrl-flow 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +2 -3
- package/dist/index.umd.js +2 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -180,8 +180,7 @@ function Source(props) {
|
|
|
180
180
|
if (!state)
|
|
181
181
|
throw new Error("An extractor's source must be inside one of its joints");
|
|
182
182
|
const {
|
|
183
|
-
sources
|
|
184
|
-
force
|
|
183
|
+
sources
|
|
185
184
|
} = state;
|
|
186
185
|
const order = createMemo(() => props.order);
|
|
187
186
|
const info = {
|
|
@@ -196,7 +195,7 @@ function Source(props) {
|
|
|
196
195
|
createRenderEffect(on(order, () => {
|
|
197
196
|
onCleanup(() => node.remove());
|
|
198
197
|
sources.add(node, COMPARATOR);
|
|
199
|
-
force();
|
|
198
|
+
state.force();
|
|
200
199
|
}));
|
|
201
200
|
return [];
|
|
202
201
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -183,8 +183,7 @@
|
|
|
183
183
|
if (!state)
|
|
184
184
|
throw new Error("An extractor's source must be inside one of its joints");
|
|
185
185
|
const {
|
|
186
|
-
sources
|
|
187
|
-
force
|
|
186
|
+
sources
|
|
188
187
|
} = state;
|
|
189
188
|
const order = solidJs.createMemo(() => props.order);
|
|
190
189
|
const info = {
|
|
@@ -199,7 +198,7 @@
|
|
|
199
198
|
solidJs.createRenderEffect(solidJs.on(order, () => {
|
|
200
199
|
solidJs.onCleanup(() => node.remove());
|
|
201
200
|
sources.add(node, COMPARATOR);
|
|
202
|
-
force();
|
|
201
|
+
state.force();
|
|
203
202
|
}));
|
|
204
203
|
return [];
|
|
205
204
|
}
|