From 4ca56fea7367aa106434fcdfb71957e129df8f23 Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Sun, 3 Aug 2014 18:52:46 +0200 Subject: [PATCH] typo "refere"->"ence" --- blog/2014/08/03/community-roundup-21.html | 2 +- blog/index.html | 2 +- feed.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blog/2014/08/03/community-roundup-21.html b/blog/2014/08/03/community-roundup-21.html index 46a6b64fe5..946d1f7edd 100644 --- a/blog/2014/08/03/community-roundup-21.html +++ b/blog/2014/08/03/community-roundup-21.html @@ -132,7 +132,7 @@
  • Can I build something complex with React?
  • Referencing Dynamic Children #

    -

    While Matt Zabriskie was working on react-tabs he discovered how to use React.Children.map and React.addons.cloneWithProps in order to refere dynamic children.

    +

    While Matt Zabriskie was working on react-tabs he discovered how to use React.Children.map and React.addons.cloneWithProps in order to reference dynamic children.

    var App = React.createClass({
       render: function () {
         var children = React.Children.map(this.props.children, function(child, index) {
    diff --git a/blog/index.html b/blog/index.html
    index fd95ff72d2..28efc2ed15 100644
    --- a/blog/index.html
    +++ b/blog/index.html
    @@ -132,7 +132,7 @@
     
  • Can I build something complex with React?
  • Referencing Dynamic Children #

    -

    While Matt Zabriskie was working on react-tabs he discovered how to use React.Children.map and React.addons.cloneWithProps in order to refere dynamic children.

    +

    While Matt Zabriskie was working on react-tabs he discovered how to use React.Children.map and React.addons.cloneWithProps in order to reference dynamic children.

    var App = React.createClass({
       render: function () {
         var children = React.Children.map(this.props.children, function(child, index) {
    diff --git a/feed.xml b/feed.xml
    index 5f7c4fb70f..a8bfe5d73c 100644
    --- a/feed.xml
    +++ b/feed.xml
    @@ -45,7 +45,7 @@
     <li>Can I build something complex with React?</li>
     </ul>
     <h2><a class="anchor" name="referencing-dynamic-children"></a>Referencing Dynamic Children <a class="hash-link" href="#referencing-dynamic-children">#</a></h2>
    -<p>While Matt Zabriskie was working on <a href="https://www.npmjs.org/package/react-tabs">react-tabs</a> he discovered how to use React.Children.map and React.addons.cloneWithProps in order to <a href="http://www.mattzabriskie.com/blog/react-referencing-dynamic-children">refere dynamic children</a>.</p>
    +<p>While Matt Zabriskie was working on <a href="https://www.npmjs.org/package/react-tabs">react-tabs</a> he discovered how to use React.Children.map and React.addons.cloneWithProps in order to <a href="http://www.mattzabriskie.com/blog/react-referencing-dynamic-children">reference dynamic children</a>.</p>
     <div class="highlight"><pre><code class="javascript language-javascript" data-lang="javascript"><span class="kd">var</span> <span class="nx">App</span> <span class="o">=</span> <span class="nx">React</span><span class="p">.</span><span class="nx">createClass</span><span class="p">({</span>
       <span class="nx">render</span><span class="o">:</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
         <span class="kd">var</span> <span class="nx">children</span> <span class="o">=</span> <span class="nx">React</span><span class="p">.</span><span class="nx">Children</span><span class="p">.</span><span class="nx">map</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">props</span><span class="p">.</span><span class="nx">children</span><span class="p">,</span> <span class="kd">function</span><span class="p">(</span><span class="nx">child</span><span class="p">,</span> <span class="nx">index</span><span class="p">)</span> <span class="p">{</span>