live_editor.js using deprecated function

unmountAndReleaseReactRootNode -> unmountComponentAtNode
breaks html-jsx.html
This commit is contained in:
jhiswin
2013-12-29 09:42:35 -05:00
parent 64a5570c1c
commit daaed17d12

View File

@@ -122,7 +122,7 @@ var ReactPlayground = React.createClass({
var mountNode = this.refs.mount.getDOMNode();
try {
React.unmountAndReleaseReactRootNode(mountNode);
React.unmountComponentAtNode(mountNode);
} catch (e) { }
try {