dillon1000/react
Commit
Browse files check that console exists before warning
Console is undefined in earlier versions of IE when it is not open. This causes an uncaught exception, and breaks applications in these versions of IE when attempting to warn when the console is closed. Admittedly, console will usually be open when testing in development, but still React should not break the application when it is not.
Changed paths1 file
First-parent comparisonsrc/vendor/core/warning.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…