mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Add more forwarding modules that are used on www
This commit is contained in:
1 parent
9ba6635370
commit
c2ffdcb2b5
16 files changed
+281
-30
No files matched your search
@@ -15,12 +15,26 @@ var React = require('React');
|
||||
var ReactDOM = require('ReactDOM');
|
||||
|
||||
ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {
|
||||
ReactBrowserEventEmitter: require('ReactBrowserEventEmitter'),
|
||||
// These should be easy to copy into react_contrib and remove from here:
|
||||
adler32: require('adler32'),
|
||||
getVendorPrefixedEventName: require('getVendorPrefixedEventName'),
|
||||
getEventCharCode: require('getEventCharCode'),
|
||||
ReactInputSelection: require('ReactInputSelection'),
|
||||
getEventKey: require('getEventKey'),
|
||||
getEventTarget: require('getEventTarget'),
|
||||
isEventSupported: require('isEventSupported'),
|
||||
setInnerHTML: require('setInnerHTML'),
|
||||
setTextContent: require('setTextContent'),
|
||||
PooledClass: require('PooledClass'),
|
||||
// These are mostly used in incorrect Flow typings and are codemoddable:
|
||||
SyntheticEvent: require('SyntheticEvent'),
|
||||
SyntheticKeyboardEvent: require('SyntheticKeyboardEvent'),
|
||||
SyntheticMouseEvent: require('SyntheticMouseEvent'),
|
||||
// These are real internal dependencies that are trickier to remove:
|
||||
EventPluginHub: require('EventPluginHub'),
|
||||
ReactBrowserEventEmitter: require('ReactBrowserEventEmitter'),
|
||||
ReactDOMComponentTree: require('ReactDOMComponentTree'),
|
||||
ReactDOMSelection: require('ReactDOMSelection'),
|
||||
ReactInputSelection: require('ReactInputSelection'),
|
||||
ReactInstanceMap: require('react-dom/lib/ReactInstanceMap'),
|
||||
};
|
||||
|
||||
|
||||
@@ -14,12 +14,26 @@
|
||||
var ReactDOMFiber = require('ReactDOMFiber');
|
||||
|
||||
ReactDOMFiber.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {
|
||||
ReactBrowserEventEmitter: require('ReactBrowserEventEmitter'),
|
||||
// These should be easy to copy into react_contrib and remove from here:
|
||||
adler32: require('adler32'),
|
||||
getVendorPrefixedEventName: require('getVendorPrefixedEventName'),
|
||||
getEventCharCode: require('getEventCharCode'),
|
||||
ReactInputSelection: require('ReactInputSelection'),
|
||||
getEventKey: require('getEventKey'),
|
||||
getEventTarget: require('getEventTarget'),
|
||||
isEventSupported: require('isEventSupported'),
|
||||
setInnerHTML: require('setInnerHTML'),
|
||||
setTextContent: require('setTextContent'),
|
||||
PooledClass: require('PooledClass'),
|
||||
// These are mostly used in incorrect Flow typings and are codemoddable:
|
||||
SyntheticEvent: require('SyntheticEvent'),
|
||||
SyntheticKeyboardEvent: require('SyntheticKeyboardEvent'),
|
||||
SyntheticMouseEvent: require('SyntheticMouseEvent'),
|
||||
// These are real internal dependencies that are trickier to remove:
|
||||
EventPluginHub: require('EventPluginHub'),
|
||||
ReactBrowserEventEmitter: require('ReactBrowserEventEmitter'),
|
||||
ReactDOMComponentTree: require('ReactDOMComponentTree'),
|
||||
ReactDOMSelection: require('ReactDOMSelection'),
|
||||
ReactInputSelection: require('ReactInputSelection'),
|
||||
ReactInstanceMap: require('react-dom/lib/ReactInstanceMap'),
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user