Commit 040e0e3
authored
fix(animations): provide fake document object in both AoT and JiT mode (#1164)
The fake document object that is needed for the angular animations
should be provided both when using the static platform and the dynamic
one.
Can be tested with
https://github.com/nativescript/ns-ng-animation-examples.
```bash
// 1
git clone https://github.com/nativescript/ns-ng-animation-examples
// 2
tns run android --bundle --env.aot
// 3
// Navigate to the first example and expect the button to animate to
opacity 0 when tapped.
```
fixes #11631 parent 8656753 commit 040e0e3
2 files changed
+8
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
| |||
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
74 | | - | |
| 81 | + | |
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 34 | | |
43 | 35 | | |
44 | 36 | | |
| |||
67 | 59 | | |
68 | 60 | | |
69 | 61 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | 62 | | |
75 | 63 | | |
76 | 64 | | |
| |||
0 commit comments