Commit 726c730
committed
Future proof cwp, remove unused internal utils
Adds a version check to cwp so that it only wraps `child.type` in a mock
factory for version 0.12, as it would break in 0.13, where
`react.createElement ===
require("react/lib/ReactElement").createElement` will be `true`1 parent 72bb590 commit 726c730
3 files changed
Lines changed: 9 additions & 99 deletions
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
130 | 138 | | |
131 | 139 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 140 | + | |
136 | 141 | | |
137 | 142 | | |
138 | 143 | | |
0 commit comments