Commit ad3a104
Robert Jackson
Ensure rehydration works on Ember < 3.27
The fallback for the guard introduced in
32d6f07 (which takes effect when
running on Ember < 3.27) is somewhat fundamentally borked. Due to the
usage of `var Ember` and the fact that `var` hoists, the fallback in the
ternary **can never** anything but `undefined`.1 parent 1dfc8b9 commit ad3a104
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments