Selaa lähdekoodia

add newlines, otherwise everything was logged into a single line

//cc @goto-bus-stop
Artur Paikin 6 vuotta sitten
vanhempi
commit
fd53b19454
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      website/themes/uppy/layout/example.ejs

+ 1 - 1
website/themes/uppy/layout/example.ejs

@@ -35,7 +35,7 @@
           text = JSON.stringify(text);
         }
 
-        container.value += text;
+        container.value += text + '\n';
         container.scrollTop = container.scrollHeight + '\n';
       };
     }(console.log.bind(console), document.getElementById("console-log")));