dillon1000/react

Commit

Fix `EventPluginRegistry` Unit Tests in GitHub

Dumping the mock cache isn't dirying the modules in the open source version, so we have to unit test a different way. If we can fix the unit test framework, we should revert this.

Also, I added strict mode to `EventPluginRegistry.js`.

See: https://github.com/facebook/react/pull/91
Browse files
Changed paths2 files
First-parent comparison
M src/event/EventPluginRegistry.js ModifiedM src/event/__tests__/EventPluginRegistry-test.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…