@samitouri / QOS-React-2 / commits / 8972ad921f

Example is JSX not JS.

James South committed Apr 20, 2015 at 14:26 UTC 8972ad921fc62e3381788ecec5c7e67a2ccff74f
1 file changed +1 -1
docs/docs/02-displaying-data.md
+1 -1
@@ -32,7 +32,7 @@ Let's look at a really simple example. Create a `hello-react.html` file with the
32 </html>
33 ```
34
35 -For the rest of the documentation, we'll just focus on the JavaScript code and assume it's inserted into a template like the one above. Replace the placeholder comment above with the following JS:
35 +For the rest of the documentation, we'll just focus on the JavaScript code and assume it's inserted into a template like the one above. Replace the placeholder comment above with the following JSX:
36
37 ```javascript
38 var HelloWorld = React.createClass({