Commit dbfac39
refactor: Use for-of loops instead of traditional for loops
Address code review feedback to use for-of loops for simpler iteration
over data.records arrays in both onNodeOver and onNodeDrop handlers.
Co-authored-by: dpfaffenbauer <5981845+dpfaffenbauer@users.noreply.github.com>1 parent 1f01b82 commit dbfac39
File tree
1 file changed
+4
-4
lines changed- src/CoreShop/Bundle/ResourceBundle/Resources/public/pimcore/js/object
1 file changed
+4
-4
lines changedLines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
| 159 | + | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
| 179 | + | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
0 commit comments