Browse Source

make it more readable when printing a bunch of class names in a row

Reddo 5 years ago
parent
commit
de9dfb0a1f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Elements/Classes/Say.ts

+ 1 - 1
app/Elements/Classes/Say.ts

@@ -232,7 +232,7 @@ class Say {
             } else if (typeof seq == "function") {
             } else if (typeof seq == "function") {
                 // not a function, but a class
                 // not a function, but a class
                 if (seq.prototype != undefined) {
                 if (seq.prototype != undefined) {
-                    this.currentParagraph.push(document.createTextNode(seq.name));
+                    this.currentParagraph.push(document.createTextNode(" " + seq.name + " "));
                 } else {
                 } else {
                     let fObj = (<(s: Say) => any>seq)(this);
                     let fObj = (<(s: Say) => any>seq)(this);
                     if (Array.isArray(fObj)) {
                     if (Array.isArray(fObj)) {