upgrade to react 0.14

This commit is contained in:
Matthew Hodgson 2015-11-09 23:13:43 +00:00
parent b556eff492
commit efd88b9a83
2 changed files with 5 additions and 3 deletions

View file

@ -18,6 +18,7 @@ limitations under the License.
'use strict';
var React = require('react');
var ReactDOM = require('react-dom');
module.exports = {
DialogContainerId: "mx_Dialog_Container",
@ -52,7 +53,7 @@ module.exports = {
</div>
);
React.render(dialog, this.getOrCreateContainer());
ReactDOM.render(dialog, this.getOrCreateContainer());
return {close: closeDialog};
},
@ -77,7 +78,7 @@ module.exports = {
</div>
);
React.render(dialog, this.getOrCreateContainer());
ReactDOM.render(dialog, this.getOrCreateContainer());
return {close: closeDialog};
},