Commit bfb3592
committed
[REVERT BEFORE MERGING] Extract the "decorate" helper to a new file
This has a few advantages:
1) GitHub highlights the helper code, making it easier to review
2) ESLint <3 (it caught an undeclared variable)
I also added flow types to help understanding what the functions do.
Thanks @Kovensky for the idea!1 parent 7177e0d commit bfb3592
4 files changed
Lines changed: 789 additions & 105 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments