Commit b31fe9e
committed
Simplify option default assignments
Rather than manually assigning object properties in a loop, use the
spread operator to combine in a single statement.
Signed-off-by: Kevin Locke <[email protected]>1 parent 20f2b1e commit b31fe9e
1 file changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
132 | 128 | | |
133 | 129 | | |
134 | 130 | | |
| |||
0 commit comments