dillon1000/react
Commit
Browse files 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).
Changed paths10 files
First-parent comparisonsrc/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…