Commit e71c427
authored
feat(getTarget): throw when string not in DOM (#622)
Previously it when a string target was not found in the DOM via querySelector, it would just return the `null` and bomb elswhere
Now an error is thrown to help the developer track down the issue.
Closes #6201 parent 3fbd34c commit e71c427
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
125 | 128 | | |
| |||
0 commit comments