diff --git a/_js/examples/hello.js b/_js/examples/hello.js index 019281bd..040a04ac 100644 --- a/_js/examples/hello.js +++ b/_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/_js/jsx-compiler.js b/_js/jsx-compiler.js index c98ee5b5..0e703d7f 100644 --- a/_js/jsx-compiler.js +++ b/_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\