diff --git a/src/core/React.js b/src/core/React.js index 7bdb3b39bdf34..6685b0591d443 100644 --- a/src/core/React.js +++ b/src/core/React.js @@ -24,6 +24,7 @@ var ReactDOM = require('ReactDOM'); var ReactMount = require('ReactMount'); var ReactProps = require('ReactProps'); var ReactServerRendering = require('ReactServerRendering'); +var DOMProperty = require('DOMProperty'); var ReactDefaultInjection = require('ReactDefaultInjection'); @@ -31,6 +32,7 @@ ReactDefaultInjection.inject(); var React = { DOM: ReactDOM, + DOMProperty: DOMProperty, Props: ReactProps, initializeTouchEvents: function(shouldUseTouch) { ReactMount.useTouchEvents = shouldUseTouch; diff --git a/src/core/ReactDefaultInjection.js b/src/core/ReactDefaultInjection.js index 33577220f244c..499f1cdef3ae0 100644 --- a/src/core/ReactDefaultInjection.js +++ b/src/core/ReactDefaultInjection.js @@ -22,6 +22,9 @@ var ReactDOM = require('ReactDOM'); var ReactDOMForm = require('ReactDOMForm'); var ReactDOMTextarea = require('ReactDOMTextarea'); +var DefaultDOMPropertyConfig = require('DefaultDOMPropertyConfig'); +var DOMProperty = require('DOMProperty'); + var DefaultEventPluginOrder = require('DefaultEventPluginOrder'); var EnterLeaveEventPlugin = require('EnterLeaveEventPlugin'); var ChangeEventPlugin = require('ChangeEventPlugin'); @@ -46,17 +49,13 @@ function inject() { 'ChangeEventPlugin': ChangeEventPlugin }); - /** - * This is a bit of a hack. We need to override the