Explorar o código

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

Reddo %!s(int64=5) %!d(string=hai) anos
pai
achega
de9dfb0a1f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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") {
                 // not a function, but a class
                 if (seq.prototype != undefined) {
-                    this.currentParagraph.push(document.createTextNode(seq.name));
+                    this.currentParagraph.push(document.createTextNode(" " + seq.name + " "));
                 } else {
                     let fObj = (<(s: Say) => any>seq)(this);
                     if (Array.isArray(fObj)) {