From d8d4120614c72111e4ed7f553f4b36d14a3a1a4a Mon Sep 17 00:00:00 2001 From: Cheng Lou Date: Thu, 16 Jan 2014 13:38:49 -0800 Subject: [PATCH] [docs] Tweak frontpage first example and jsx-compiler example --- docs/_js/examples/hello.js | 2 +- docs/_js/jsx-compiler.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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\