From 760cdd35c9939906d0297a8214cfa9b2eb187be2 Mon Sep 17 00:00:00 2001 From: Nicholas Bergson-Shilcock Date: Sun, 15 Dec 2013 12:11:47 -0500 Subject: [PATCH 1/2] Fix typo (ot -> to) --- docs/docs/09.2-form-input-binding-sugar.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/09.2-form-input-binding-sugar.md b/docs/docs/09.2-form-input-binding-sugar.md index a11edc071e..8f706eea91 100644 --- a/docs/docs/09.2-form-input-binding-sugar.md +++ b/docs/docs/09.2-form-input-binding-sugar.md @@ -62,7 +62,7 @@ var WithLink = React.createClass({ }); ``` -`LinkedStateMixin` adds a method ot your React component called `linkState()`. `linkState()` returns a `ReactLink` object which contains the current value of the React state and a callback to change it. +`LinkedStateMixin` adds a method to your React component called `linkState()`. `linkState()` returns a `ReactLink` object which contains the current value of the React state and a callback to change it. `ReactLink` objects can be passed up and down the tree as props, so it's easy (and explicit) to set up two-way binding between a component deep in the hierarchy and state that lives higher in the hierarchy. From 93eb6a5637f67df55f47ccf8181ee31aefc38334 Mon Sep 17 00:00:00 2001 From: Nicholas Bergson-Shilcock Date: Sun, 15 Dec 2013 12:12:38 -0500 Subject: [PATCH 2/2] Fix typo in comments (ot -> to) --- src/addons/transitions/ReactTransitionKeySet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/addons/transitions/ReactTransitionKeySet.js b/src/addons/transitions/ReactTransitionKeySet.js index ebb1cdeeb9..b9edb99fc5 100644 --- a/src/addons/transitions/ReactTransitionKeySet.js +++ b/src/addons/transitions/ReactTransitionKeySet.js @@ -52,7 +52,7 @@ var ReactTransitionKeySet = { /** * When you're adding or removing children some may be added or removed in the - * same render pass. We want ot show *both* since we want to simultaneously + * same render pass. We want to show *both* since we want to simultaneously * animate elements in and out. This function takes a previous set of keys * and a new set of keys and merges them with its best guess of the correct * ordering. In the future we may expose some of the utilities in