Compare commits

...

3 Commits

Author SHA1 Message Date
Paul O’Shannessy
e6912a7a4a Update readme for 0.5.2 2013-12-18 14:52:57 -08:00
Paul O’Shannessy
f1ae3392bd v0.5.2 2013-12-18 12:04:54 -08:00
Thomas Aylott
94a9a3e752 fixes ReactTextComponent rootID unescapedness 2013-12-17 18:29:40 -08:00
5 changed files with 7 additions and 7 deletions

View File

@@ -36,12 +36,12 @@ The fastest way to get started is to serve JavaScript from the CDN (also availab
```html
<!-- The core React library -->
<script src="http://fb.me/react-0.5.1.js"></script>
<script src="http://fb.me/react-0.5.2.js"></script>
<!-- In-browser JSX transformer, remove when pre-compiling JSX. -->
<script src="http://fb.me/JSXTransformer-0.5.1.js"></script>
<script src="http://fb.me/JSXTransformer-0.5.2.js"></script>
```
We've also built a [starter kit](http://facebook.github.io/react/downloads/react-0.5.1.zip) which might be useful if this is your first time using React. It includes a webpage with an example of using React with live code.
We've also built a [starter kit](http://facebook.github.io/react/downloads/react-0.5.2.zip) which might be useful if this is your first time using React. It includes a webpage with an example of using React with live code.
If you'd like to use [bower](http://bower.io), it's as easy as:

View File

@@ -13,7 +13,7 @@ redcarpet:
pygments: true
name: React
markdown: redcarpet
react_version: 0.5.1
react_version: 0.5.2
description: A JavaScript library for building user interfaces
relative_permalinks: true
paginate: 5

View File

@@ -1,6 +1,6 @@
{
"name": "react-tools",
"version": "0.5.1",
"version": "0.5.2",
"keywords": [
"react",
"jsx",

View File

@@ -66,6 +66,6 @@ var React = {
// Version exists only in the open-source version of React, not in Facebook's
// internal version.
React.version = '0.5.1';
React.version = '0.5.2';
module.exports = React;

View File

@@ -65,7 +65,7 @@ mixInto(ReactTextComponent, {
mountDepth
);
return (
'<span ' + ReactMount.ATTR_NAME + '="' + rootID + '">' +
'<span ' + ReactMount.ATTR_NAME + '="' + escapeTextForBrowser(rootID) + '">' +
escapeTextForBrowser(this.props.text) +
'</span>'
);