dillon1000/react

Commit

Rename `ReactEvent` to `ReactEventEmitter`

ReactEvent should be reserved for the actual object created when an
event fires. The current ReactEvent is more like EventEmitter than
anything (e.g. it sets up delegation, provides methods to attach and
remove listeners).
Browse files
Changed paths10 files
First-parent comparison
M src/core/ReactDOMForm.js ModifiedR src/core/ReactEvent.js →src/core/ReactEventEmitter.js RenamedM src/core/ReactEventTopLevelCallback.js ModifiedM src/core/ReactMount.js ModifiedM src/core/ReactNativeComponent.js ModifiedM src/core/ReactReconcileTransaction.js ModifiedM src/core/__tests__/ReactEvent-test.js ModifiedM src/core/__tests__/ReactNativeComponent-test.js ModifiedM src/eventPlugins/__tests__/AnalyticsEventPlugin-test.js ModifiedM src/test/ReactTestUtils.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…