Merge pull request #4357 from yangmillstheory/docfix

Warn against JSX transform failure for non-HTTP-served JSX
This commit is contained in:
Paul O’Shannessy 2015-07-13 13:20:09 -07:00
commit e9915f0735
1 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,8 @@ Then reference it from `helloworld.html`:
<script type="text/jsx" src="src/helloworld.js"></script>
```
Note that some browsers (Chrome, e.g.) will fail to load the file unless it's served via HTTP.
### Offline Transform
First install the command-line tools (requires [npm](https://www.npmjs.com/)):