Merge pull request #914 from chenglou/jsx

tweak frontpage first example code
This commit is contained in:
Ben Alpert committed 2014-01-17 18:27:51 -08:00
commit ffc31ed77b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ var HELLO_COMPONENT = "\
/** @jsx React.DOM */\n\
var HelloMessage = React.createClass({\n\
render: function() {\n\
return <div>{'Hello ' + this.props.name}</div>;\n\
return <div>Hello {this.props.name}</div>;\n\
}\n\
});\n\
\n\
+1 -1
View File
@@ -6,7 +6,7 @@ var HELLO_COMPONENT = "\
/** @jsx React.DOM */\n\
var HelloMessage = React.createClass({\n\
render: function() {\n\
return <div>{'Hello ' + this.props.name}</div>;\n\
return <div>Hello {this.props.name}</div>;\n\
}\n\
});\n\
\n\