@@ -82,6 +82,8 @@ class CodeBox {
* Transforms the textual code box into usable matrix
*/
ParseCodeBox() {
+ this.box = [];
+
const cbRaw = this.codeBoxDOM.value;
const rows = cbRaw.split("\n").filter((r) => r.length);