From 16a99a12478c2a3f13a00deb8300eee15e7f5a3d Mon Sep 17 00:00:00 2001 From: Toru Kobayashi Date: Mon, 2 Feb 2015 09:52:08 +0900 Subject: [PATCH] Fix consistency of component api document --- docs/ref-02-component-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref-02-component-api.md b/docs/ref-02-component-api.md index 2deeef70..a6989c53 100644 --- a/docs/ref-02-component-api.md +++ b/docs/ref-02-component-api.md @@ -39,7 +39,7 @@ replaceState(object nextState[, function callback]) Like `setState()` but deletes any pre-existing state keys that are not in nextState. -### forceUpdate() +### forceUpdate ```javascript forceUpdate([function callback]) @@ -61,7 +61,7 @@ DOMElement getDOMNode() If this component has been mounted into the DOM, this returns the corresponding native browser DOM element. This method is useful for reading values out of the DOM, such as form field values and performing DOM measurements. When `render` returns `null` or `false`, `this.getDOMNode()` returns `null`. -### isMounted() +### isMounted ```javascript bool isMounted()