Merge pull request #3471 from mertkahyaoglu/master
fix doc comments and typos
This commit is contained in:
commit
70f16cc936
|
@ -157,7 +157,7 @@ var voidElementTags = assign({
|
||||||
'menuitem': true
|
'menuitem': true
|
||||||
}, omittedCloseTags);
|
}, omittedCloseTags);
|
||||||
|
|
||||||
// We accept any tag to be rendered but since this gets injected into abitrary
|
// We accept any tag to be rendered but since this gets injected into arbitrary
|
||||||
// HTML, we want to make sure that it's a safe tag.
|
// HTML, we want to make sure that it's a safe tag.
|
||||||
// http://www.w3.org/TR/REC-xml/#NT-Name
|
// http://www.w3.org/TR/REC-xml/#NT-Name
|
||||||
|
|
||||||
|
@ -209,6 +209,7 @@ ReactDOMComponent.Mixin = {
|
||||||
* @internal
|
* @internal
|
||||||
* @param {string} rootID The root DOM ID for this node.
|
* @param {string} rootID The root DOM ID for this node.
|
||||||
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
|
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
|
||||||
|
* @param {object} context
|
||||||
* @return {string} The computed markup.
|
* @return {string} The computed markup.
|
||||||
*/
|
*/
|
||||||
mountComponent: function(rootID, transaction, context) {
|
mountComponent: function(rootID, transaction, context) {
|
||||||
|
@ -323,6 +324,14 @@ ReactDOMComponent.Mixin = {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Receives a next element and updates the component.
|
||||||
|
*
|
||||||
|
* @internal
|
||||||
|
* @param {ReactElement} nextElement
|
||||||
|
* @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction
|
||||||
|
* @param {object} context
|
||||||
|
*/
|
||||||
receiveComponent: function(nextElement, transaction, context) {
|
receiveComponent: function(nextElement, transaction, context) {
|
||||||
var prevElement = this._currentElement;
|
var prevElement = this._currentElement;
|
||||||
this._currentElement = nextElement;
|
this._currentElement = nextElement;
|
||||||
|
|
Loading…
Reference in New Issue