Commit 6107eaf
committed
refactor(directives.js): Suppress console warnings and improve code readability
Clean up directives.js by suppressing console warnings and improving code
readability with better parameter naming and arrow functions.
Changes:
- Add underscore prefix to unused _prevVnode parameter to suppress warnings
- Comment out console.warn and console.log statements
- Refactor map and forEach callbacks to use arrow functions
- Improve code formatting and readability
This reduces console noise during development and improves code maintainability.1 parent 3da0b5b commit 6107eaf
1 file changed
+13
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | | - | |
41 | 44 | | |
42 | 45 | | |
0 commit comments