From 6919a2056194b389130e385c0d3331d6912f3fd2 Mon Sep 17 00:00:00 2001 From: yazz Date: Fri, 10 Jan 2025 15:52:33 +0100 Subject: [PATCH] Revert "Removed "getFnNameFromLine( )" as some code called from anonymous fns" This reverts commit 7647d6fb19f810f859de7d4f94f134a08a7addbf. --- public/go.html | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/public/go.html b/public/go.html index 90f420fe9..79e98c63a 100644 --- a/public/go.html +++ b/public/go.html @@ -13722,11 +13722,10 @@

:158:29)' + let indexColon = fnLine.indexOf(":") + if (indexColon == -1) { + return null + } + + let fnUptoColon = fnLine.substring(0,indexColon) + let trimmed = fnUptoColon.trim() + return trimmed + }, }, linesOfSourceFile: {}, // the lines of code in go.html and other source files = [line 1, line 2, etc...]