Skip to content

Commit

Permalink
Merge pull request facebook#2581 from spicyj/rm-elt-docs
Browse files Browse the repository at this point in the history
Update variable name and doc type to be accurate
  • Loading branch information
sophiebits committed Nov 21, 2014
2 parents 68ba3b6 + c4b9b93 commit 23effb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/browser/ui/ReactMount.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,16 +267,16 @@ var ReactMount = {
/**
* Take a component that's already mounted into the DOM and replace its props
* @param {ReactComponent} prevComponent component instance already in the DOM
* @param {ReactComponent} nextComponent component instance to render
* @param {ReactElement} nextElement component instance to render
* @param {DOMElement} container container to render into
* @param {?function} callback function triggered on completion
*/
_updateRootComponent: function(
prevComponent,
nextComponent,
nextElement,
container,
callback) {
var nextProps = nextComponent.props;
var nextProps = nextElement.props;
ReactMount.scrollMonitor(container, function() {
prevComponent.replaceProps(nextProps, callback);
});
Expand Down

0 comments on commit 23effb7

Please sign in to comment.