| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent cfea53e commit b5a8a81
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -41,9 +41,11 @@ function treeToXML(tree) { | |||
| 41 | 41 | if (comment) { | |
| 42 | 42 | return `${indent}<!-- ${escapeComment(comment)} -->\n`; | |
| 43 | 43 | } | |
| 44 | - const attrsString = ArrayPrototypeJoin(ArrayPrototypeMap(ObjectEntries(attrs) | ||
| 45 | - , ({ 0: key, 1: value }) => `${key}="${escapeAttribute(String(value))}"`) | ||
| 46 | - , ' '); | ||
| 44 | + const attrsString = ArrayPrototypeJoin( | ||
| 45 | + ArrayPrototypeMap( | ||
| 46 | + ObjectEntries(attrs), | ||
| 47 | + ({ 0: key, 1: value }) => `${key}="${escapeAttribute(String(value))}"`), | ||
| 48 | + ' '); | ||
| 47 | 49 | if (!children?.length) { | |
| 48 | 50 | return `${indent}<${tag} ${attrsString}/>\n`; | |
| 49 | 51 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -61,8 +61,8 @@ function sum(p, c) { | |||
| 61 | 61 | throw new Error('boom'); | |
| 62 | 62 | } | |
| 63 | 63 | return c; | |
| 64 | - }, 0) | ||
| 65 | - , /boom/).then(common.mustCall()); | ||
| 64 | + }, 0), | ||
| 65 | + /boom/).then(common.mustCall()); | ||
| 66 | 66 | } | |
| 67 | 67 | ||
| 68 | 68 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments