diff --git a/docs/_js/examples/hello.js b/docs/_js/examples/hello.js index 019281bd7b..040a04ac45 100644 --- a/docs/_js/examples/hello.js +++ b/docs/_js/examples/hello.js @@ -6,7 +6,7 @@ var HELLO_COMPONENT = "\ /** @jsx React.DOM */\n\ var HelloMessage = React.createClass({\n\ render: function() {\n\ - return
{'Hello ' + this.props.name}
;\n\ + return
Hello {this.props.name}
;\n\ }\n\ });\n\ \n\ diff --git a/docs/_js/jsx-compiler.js b/docs/_js/jsx-compiler.js index c98ee5b5e6..0e703d7f80 100644 --- a/docs/_js/jsx-compiler.js +++ b/docs/_js/jsx-compiler.js @@ -6,7 +6,7 @@ var HELLO_COMPONENT = "\ /** @jsx React.DOM */\n\ var HelloMessage = React.createClass({\n\ render: function() {\n\ - return
{'Hello ' + this.props.name}
;\n\ + return
Hello {this.props.name}
;\n\ }\n\ });\n\ \n\