Commit fbb8839
chore: simplify accessor return (#10520)
Return `pop` directly by returning the component from it; gets rid of extraneous variable declaration
---------
Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Simon H <[email protected]>1 parent 8feb865 commit fbb8839
File tree
2 files changed
+15
-16
lines changed- packages/svelte/src
- compiler/phases/3-transform/client
- internal/client
2 files changed
+15
-16
lines changedLines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
302 | 297 | | |
303 | 298 | | |
304 | 299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1906 | 1906 | | |
1907 | 1907 | | |
1908 | 1908 | | |
1909 | | - | |
1910 | | - | |
| 1909 | + | |
| 1910 | + | |
| 1911 | + | |
1911 | 1912 | | |
1912 | | - | |
| 1913 | + | |
1913 | 1914 | | |
1914 | 1915 | | |
1915 | | - | |
1916 | | - | |
| 1916 | + | |
| 1917 | + | |
1917 | 1918 | | |
1918 | 1919 | | |
1919 | 1920 | | |
| |||
1925 | 1926 | | |
1926 | 1927 | | |
1927 | 1928 | | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
1928 | 1932 | | |
1929 | 1933 | | |
1930 | 1934 | | |
| |||
0 commit comments