Created
September 16, 2014 18:07
-
-
Save zpao/a9638800648d06f9e4d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CHANGELOG.md b/CHANGELOG.md | |
index 571551a..781ce9b 100644 | |
--- a/CHANGELOG.md | |
+++ b/CHANGELOG.md | |
@@ -16,8 +16,8 @@ | |
### React Tools | |
* Update `esprima` and `jstransform` for correctness fixes | |
-* The `jsx` executable now exposes a `--strip-types` flag which can be used to remove Typescript-like type annotations | |
- * This option is also exposed to `require('react-tools').transform` | |
+* The `jsx` executable now exposes a `--strip-types` flag which can be used to remove TypeScript-like type annotations | |
+ * This option is also exposed to `require('react-tools').transform` as `stripTypes` | |
## 0.11.1 (July 24, 2014) | |
diff --git a/docs/_posts/2014-09-16-react-v0.11.2.md b/docs/_posts/2014-09-16-react-v0.11.2.md | |
index 6fd83fc..b871e6d 100644 | |
--- a/docs/_posts/2014-09-16-react-v0.11.2.md | |
+++ b/docs/_posts/2014-09-16-react-v0.11.2.md | |
@@ -9,7 +9,7 @@ We're adding support for two more DOM elements, `<dialog>` and `<picture>`, as w | |
We're also doing some work to prepare for v0.12 and improve compatibility between the versions. To do this we are replacing `React.createDescriptor` with `React.createElement`. `createDescriptor` will continue to work with a warning and will be gone in v0.12. Chances are that this won't affect anybody. | |
-And lastly, on the heels of announcing Flow at [@Scale](http://atscaleconference.com/), we're adding the ability to strip Typescript-like type annotations as part of the `jsx` transform. To use, simply use the `--strip-types` flag on the command line, or set `stripTypes` in the `options` object when calling the API. | |
+And lastly, on the heels of announcing Flow at [@Scale](http://atscaleconference.com/) yesterday, we're adding the ability to strip TypeScript-like type annotations as part of the `jsx` transform. To use, simply use the `--strip-types` flag on the command line, or set `stripTypes` in the `options` object when calling the API. We'll be talking about Flow more in the coming months. But for now, it's helpful to know that it is a flow-sensitive JavaScript type checker we will be open sourcing soon. | |
The release is available for download from the CDN: | |
@@ -42,5 +42,5 @@ Please try these builds out and [file an issue on GitHub](https://github.com/fac | |
### React Tools | |
* Update `esprima` and `jstransform` for correctness fixes | |
-* The `jsx` executable now exposes a `--strip-types` flag which can be used to remove Typescript-like type annotations | |
- * This option is also exposed to `require('react-tools').transform` | |
+* The `jsx` executable now exposes a `--strip-types` flag which can be used to remove TypeScript-like type annotations | |
+ * This option is also exposed to `require('react-tools').transform` as `stripTypes` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment