From 029d1bd7190b80badd35184353772cd0c32398cb Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Wed, 3 Sep 2025 17:45:33 +0200 Subject: [PATCH] DRAFT feat(core registry): Bind transform, so that static methods can access this. TODO: probably bonkers. that was due to a fix in fix-focus branch. --- src/core/registry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/registry.js b/src/core/registry.js index aef82d554..3d436d529 100644 --- a/src/core/registry.js +++ b/src/core/registry.js @@ -94,7 +94,7 @@ const registry = { const transform = pattern.transform || pattern.prototype?.transform; if (transform) { try { - transform($(content)); + transform.bind(pattern.prototype)($(content)); } catch (e) { if (dont_catch) { throw e;