Commit da91c34
committed
fix(signals): simplify x-html null-guard to '?? ""' (#1767)
The #1768 null-guard rewrote 'el.innerHTML = evalAttrExpr(value)' into a
'var __html = ...' form, which broke the scope-lifecycle 'should handle @html'
assertion that checks the runtime still contains 'el.innerHTML = evalAttrExpr'.
Use the runtime's existing '?? '' idiom (cf. el.value at signals.ts) so the
null/undefined coercion stays AND the asserted shape is preserved. Full suite
green (7796 pass, 0 fail).1 parent bcd6f2c commit da91c34
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1861 | 1861 | | |
1862 | 1862 | | |
1863 | 1863 | | |
1864 | | - | |
1865 | | - | |
| 1864 | + | |
1866 | 1865 | | |
1867 | 1866 | | |
1868 | 1867 | | |
| |||
0 commit comments