Commit 470034d
feat(macros)!: remove getStateArrayMapFunc
BREAKING CHANGE: getStateArrayMapFunc has been removed from macros.
It was a map callback that called getState() on vtkObject items and
passed primitives through unchanged. Inline the equivalent where
needed, e.g. arr.map((item) => (item && item.isA ? item.getState() : item)).1 parent c0d9887 commit 470034d
3 files changed
Lines changed: 1 addition & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | 143 | | |
151 | 144 | | |
152 | 145 | | |
| |||
725 | 718 | | |
726 | 719 | | |
727 | 720 | | |
728 | | - | |
729 | 721 | | |
730 | 722 | | |
731 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | 215 | | |
223 | 216 | | |
224 | 217 | | |
| |||
1797 | 1790 | | |
1798 | 1791 | | |
1799 | 1792 | | |
1800 | | - | |
1801 | 1793 | | |
1802 | 1794 | | |
1803 | 1795 | | |
| |||
0 commit comments