upgrade to react 0.14

This commit is contained in:
Matthew Hodgson 2015-11-09 23:13:46 +00:00
parent 6d9817e5e7
commit 87bb7c9b7b
5 changed files with 13 additions and 9 deletions

View file

@ -18,6 +18,7 @@ limitations under the License.
'use strict';
var React = require('react');
var ReactDOM = require('react-dom');
// Shamelessly ripped off Modal.js. There's probably a better way
// of doing reusable widgets like dialog boxes & menus where we go and
@ -74,7 +75,7 @@ module.exports = {
</div>
);
React.render(menu, this.getOrCreateContainer());
ReactDOM.render(menu, this.getOrCreateContainer());
return {close: closeMenu};
},