diff --git a/docs/tutorial.md b/docs/tutorial.md index 9d40f00a..528bf861 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -22,7 +22,7 @@ It'll also have a few neat features: ### Want to skip all this and just see the source? -[It's all on GitHub.](https://github.com/petehunt/react-tutorial) +[It's all on GitHub.](https://github.com/reactjs/react-tutorial) ### Getting started @@ -40,9 +40,7 @@ For this tutorial we'll use prebuilt JavaScript files on a CDN. Open up your fav
@@ -91,7 +89,7 @@ The first thing you'll notice is the XML-ish syntax in your JavaScript. We have var CommentBox = React.createClass({displayName: 'CommentBox', render: function() { return ( - React.DOM.div({className: "commentBox"}, + React.DOM.div({className: "commentBox"}, "Hello, world! I am a CommentBox." ) ); @@ -308,7 +306,11 @@ Now that the data is available in the `CommentList`, let's render the comments d var CommentList = React.createClass({ render: function() { var commentNodes = this.props.data.map(function (comment) { - return