dillon1000/react

Commit

Fix isEventSupported in recent versions of jsdom.

Setting the `eventName` attribute of an element to the empty string is not
enough to cause `typeof element[eventName] === 'function'` in jsdom. The
attribute value actually has to look like a function body.
Browse files
Changed paths1 file
First-parent comparison
M src/dom/isEventSupported.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…