From 3996d95131e3541521b8a8527cd7d042b128206d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 28 Aug 2013 14:42:07 -0700 Subject: [PATCH] [docs] Small tweaks as reported in comments * highlight `` * use correct id in `getElementById` call --- docs/tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial.md b/docs/tutorial.md index 859474aa..2d0c8071 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -314,7 +314,7 @@ Let's replace the hard-coded data with some dynamic data from the server. We wil // tutorial11.js React.renderComponent( , - document.getElementById('example') + document.getElementById('content') ); ``` @@ -438,7 +438,7 @@ All we have done here is move the AJAX call to a separate method and call it whe Now it's time to build the form. Our `CommentForm` component should ask the user for their name and comment text and send a request to the server to save the comment. -```javascript{5-8} +```javascript{5-9} // tutorial15.js var CommentForm = React.createClass({ render: function() {