From 5f8dfdfe937e59614ca30dd54f5a0ad8af3e92e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 14 Mar 2022 10:00:21 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A1=20GCV:=20Slight=20rephrasing=20of?= =?UTF-8?q?=20a=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/octoprint/plugins/gcodeviewer/static/js/viewer/reader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/octoprint/plugins/gcodeviewer/static/js/viewer/reader.js b/src/octoprint/plugins/gcodeviewer/static/js/viewer/reader.js index bb15ba3d7..a4c1876d0 100644 --- a/src/octoprint/plugins/gcodeviewer/static/js/viewer/reader.js +++ b/src/octoprint/plugins/gcodeviewer/static/js/viewer/reader.js @@ -192,14 +192,14 @@ GCODE.gCodeReader = (function () { /* * Split by line ending * - * Note that for windows line endings \r\n this leaves the \r attached to + * Be aware that for windows line endings \r\n this leaves the \r attached to * the lines. That will not influence our parser, but makes file position * calculation way easier (line length + 1), so we just leave it in. * * This cannot cope with old MacOS \r line endings, but those should * really not be used anymore and thus we'll happily ignore them here. * - * A simple string split uses up *much* less memory than regex. + * Note: A simple string split uses up *much* less memory than regex. */ lines = reader.target.result.split("\n");