From 3414555da8e69ef301f8538e35eb04342a04f827 Mon Sep 17 00:00:00 2001 From: sadan <117494111+sadan4@users.noreply.github.com> Date: Thu, 22 Jan 2026 19:42:44 -0500 Subject: [PATCH] DevCompanion: Fix testing patches --- src/plugins/devCompanion.dev/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/devCompanion.dev/index.tsx b/src/plugins/devCompanion.dev/index.tsx index 7a9a19303..b6f36e9dd 100644 --- a/src/plugins/devCompanion.dev/index.tsx +++ b/src/plugins/devCompanion.dev/index.tsx @@ -164,6 +164,8 @@ function initWs(isManual = false) { if (src.startsWith("function(")) { src = "0," + src; + } else if (src.charCodeAt(0) >= 49 /* 1*/ && src.charCodeAt(0) <= 57 /* 9*/) { + src = "0,function" + src.substring(src.indexOf("(")); } let i = 0;