Skip to content
Browse files

Removed script security attributes, since fb.me isn't setting the pro…

…per headers.
1 parent 39ccdcc commit 8b026f901c6df61e7749641b56a2991a42077507 @jimfb jimfb committed with jim
Showing with 8 additions and 24 deletions.
  1. +8 −24 docs/downloads.md
View
32 docs/downloads.md
@@ -24,48 +24,32 @@ If you're just starting out, make sure to use the development version.
The uncompressed, development version of [react.js](https://fb.me/react-{{site.react_version}}.js) and [react-dom.js](https://fb.me/react-dom-{{site.react_version}}.js) with inline documentation (you need both files).
```html
-<script src="https://fb.me/react-{{site.react_version}}.js"
- integrity="sha384-{{site.react_hashes.dev}}"
- crossorigin="anonymous"></script>
-<script src="https://fb.me/react-dom-{{site.react_version}}.js"
- integrity="sha384-{{site.react_hashes.dom_dev}}"
- crossorigin="anonymous"></script>
+<script src="https://fb.me/react-{{site.react_version}}.js"></script>
+<script src="https://fb.me/react-dom-{{site.react_version}}.js"></script>
```
#### React {{site.react_version}} (production)
The compressed, production version of [react.js](https://fb.me/react-{{site.react_version}}.min.js) and [react-dom.js](https://fb.me/react-dom-{{site.react_version}}.min.js) (you need both).
```html
-<script src="https://fb.me/react-{{site.react_version}}.min.js"
- integrity="sha384-{{site.react_hashes.prod}}"
- crossorigin="anonymous"></script>
-<script src="https://fb.me/react-dom-{{site.react_version}}.min.js"
- integrity="sha384-{{site.react_hashes.dom_prod}}"
- crossorigin="anonymous"></script>
+<script src="https://fb.me/react-{{site.react_version}}.min.js"></script>
+<script src="https://fb.me/react-dom-{{site.react_version}}.min.js"></script>
```
#### React with Add-Ons {{site.react_version}} (development)
The uncompressed, development version of React with [optional add-ons](/react/docs/addons.html).
```html
-<script src="https://fb.me/react-with-addons-{{site.react_version}}.js"
- integrity="sha384-{{site.react_hashes.addons_dev}}"
- crossorigin="anonymous"></script>
-<script src="https://fb.me/react-dom-{{site.react_version}}.js"
- integrity="sha384-{{site.react_hashes.dom_dev}}"
- crossorigin="anonymous"></script>
+<script src="https://fb.me/react-with-addons-{{site.react_version}}.js"></script>
+<script src="https://fb.me/react-dom-{{site.react_version}}.js"></script>
```
#### React with Add-Ons {{site.react_version}} (production)
The compressed, production version of React with [optional add-ons](/react/docs/addons.html).
```html
-<script src="https://fb.me/react-with-addons-{{site.react_version}}.min.js"
- integrity="sha384-{{site.react_hashes.addons_prod}}"
- crossorigin="anonymous"></script>
-<script src="https://fb.me/react-dom-{{site.react_version}}.min.js"
- integrity="sha384-{{site.react_hashes.dom_prod}}"
- crossorigin="anonymous"></script>
+<script src="https://fb.me/react-with-addons-{{site.react_version}}.min.js"></script>
+<script src="https://fb.me/react-dom-{{site.react_version}}.min.js"></script>
```
All scripts are also available via [CDNJS](https://cdnjs.com/libraries/react/).

0 comments on commit 8b026f9

Please sign in to comment.
Something went wrong with that request. Please try again.