dillon1000/react

Commit

Extract defineProperty feature testing to one file

This makes it slightly more bearable to debug in IE8 with an exception breakpoint. Also the old way was just silly and could mask other bugs.
Browse files
Changed paths6 files
First-parent comparison
M src/isomorphic/classic/element/ReactElement.js ModifiedM src/isomorphic/classic/element/ReactElementValidator.js ModifiedM src/isomorphic/modern/class/ReactComponent.js ModifiedM src/renderers/dom/client/eventPlugins/ChangeEventPlugin.js ModifiedM src/renderers/dom/shared/ReactDOMComponent.js ModifiedA src/shared/utils/canDefineProperty.js Added
Patch

Files changed

Rendering syntax-highlighted changes…