Browse Source

[docs] Fix couple minor typos/spelling

main
Paul Shen 12 years ago
parent
commit
d12a80fb6e
  1. 2
      _js/examples/timer.js
  2. 2
      docs/syntax.md

2
_js/examples/timer.js

@ -17,7 +17,7 @@ var Timer = React.createClass({\n\
render: function() {\n\
return (\n\
<div>\n\
{'Seconds Ellapsed: ' + this.state.secondsElapsed}\n\
{'Seconds Elapsed: ' + this.state.secondsElapsed}\n\
</div>\n\
);\n\
}\n\

2
docs/syntax.md

@ -10,7 +10,7 @@ next: component-basics.html
JSX is a JavaScript XML syntax extension recommended (but not required) for use
with React.
JSX makes code that deeply nested React components more readable, and writing it
JSX makes code that deeply nests React components more readable, and writing it
feels like writing HTML. React documentation examples make use of JSX.
## The Transform

Loading…
Cancel
Save