From 550d7ff6cb84fe3273256c2153cb869bc27d1263 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 11 Jan 2026 12:32:54 +0100 Subject: [PATCH 1/2] fix: react error --- website/src/repl/components/panel/Reference.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/src/repl/components/panel/Reference.jsx b/website/src/repl/components/panel/Reference.jsx index 3053f03dc..34701036d 100644 --- a/website/src/repl/components/panel/Reference.jsx +++ b/website/src/repl/components/panel/Reference.jsx @@ -1,4 +1,4 @@ -import { useMemo, useState } from 'react'; +import { useMemo, useState, Fragment } from 'react'; import jsdocJson from '../../../../../doc.json'; import { Textbox } from '../textbox/Textbox'; @@ -109,9 +109,8 @@ export function Reference() {
{visibleFunctions.map((entry, i) => ( - <> + { const el = document.getElementById(`doc-${entry.name}`); @@ -121,7 +120,7 @@ export function Reference() { > {entry.name} {' '} - + ))}
From 9ffd0e496fcb71fcbc46add25eef7e40f56d4fb6 Mon Sep 17 00:00:00 2001 From: Felix Roos Date: Sun, 11 Jan 2026 12:33:03 +0100 Subject: [PATCH 2/2] fix: all doc --- packages/core/repl.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core/repl.mjs b/packages/core/repl.mjs index 047989f7f..9fe8eef81 100644 --- a/packages/core/repl.mjs +++ b/packages/core/repl.mjs @@ -120,7 +120,9 @@ export function repl({ // TODO - not documented as jsdoc examples as the test framework doesn't simulate enough context for `each` and `all`.. - /** Applies a function to all the running patterns. Note that the patterns are groups together into a single `stack` before the function is applied. This is probably what you want, but see `each` for + let allTransforms = []; + /** + * Applies a function to all the running patterns. Note that the patterns are groups together into a single `stack` before the function is applied. This is probably what you want, but see `each` for * a version that applies the function to each pattern separately. * ``` * $: sound("bd - cp sd") @@ -135,7 +137,6 @@ export function repl({ * * @tags combiners */ - let allTransforms = []; const all = function (transform) { allTransforms.push(transform); return silence;