From f922663aaf8fa346e28cdafbb96cbfcac86c3f73 Mon Sep 17 00:00:00 2001 From: Artur Date: Sun, 28 Nov 2021 19:41:46 +0200 Subject: [PATCH] Whoops: Removed debug logging --- tgui/packages/tgui/interfaces/PaperSheet.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/tgui/packages/tgui/interfaces/PaperSheet.js b/tgui/packages/tgui/interfaces/PaperSheet.js index 9690a43116..7babb93ce1 100644 --- a/tgui/packages/tgui/interfaces/PaperSheet.js +++ b/tgui/packages/tgui/interfaces/PaperSheet.js @@ -22,7 +22,6 @@ const MAX_PAPER_LENGTH = 5000; // Question, should we send this with ui_data? // Find where people put in equations inside two $ symbols and convert them to proper LaTeX const equationRegex = (text) => { - logger.log("Starting to convert:", text) const find_equation_formatting = /\$.*\$/igm; const find_regex = find_equation_formatting.exec(text); if (find_regex) { @@ -32,10 +31,8 @@ const equationRegex = (text) => { throwOnError: false, }); text = text.replace(find_regex[i], convertToLatex); - logger.log("Converting:", convertToLatex, i); } } - logger.log("Replaced Result", text) return text; }