Commit 37bcdcd
authored
fix[devtools]: feature-check document with typeof instead of direct reference (facebook#35343)
Follow-up to facebook#35296.
We can get `ReferenceError` if this is unavailable. Using `typeof` check
instead for safety.1 parent 5a97093 commit 37bcdcd
File tree
1 file changed
+5
-2
lines changed1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| |||
0 commit comments