Browse Source

Remove filtering of empty lines from grid

I'm not sure what problem this originally solved, but now it makes no
sense.
ApisNecros 1 year ago
parent
commit
71f64b312d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      starfish.js

+ 1 - 1
starfish.js

@@ -109,7 +109,7 @@ class CodeBox {
         this.outputDOM.value = "";
         this.outputDOM.value = "";
 
 
         const cbRaw = this.codeBoxDOM.value;
         const cbRaw = this.codeBoxDOM.value;
-        const rows = cbRaw.split("\n").filter((r) => r.length);
+        const rows = cbRaw.split("\n");
 
 
         let maxRowLength = 0;
         let maxRowLength = 0;
         for(const row of rows) {
         for(const row of rows) {