From 75a4bce9f74eb5c8af800bbf41e78c230cd6a24a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Tue, 2 Aug 2016 13:44:06 -0700 Subject: [PATCH] [docs] Use npmcdn (#7394) --- docs/02-displaying-data.it-IT.md | 5 +++-- docs/02-displaying-data.ja-JP.md | 5 +++-- docs/02-displaying-data.ko-KR.md | 6 +++--- docs/02-displaying-data.md | 6 +++--- docs/02-displaying-data.ru-RU.md | 6 +++--- docs/02-displaying-data.zh-CN.md | 6 +++--- docs/02-displaying-data.zh-TW.md | 6 +++--- docs/09.2-package-management.md | 2 +- docs/getting-started.it-IT.md | 2 +- docs/getting-started.ja-JP.md | 2 +- docs/getting-started.ko-KR.md | 2 +- docs/getting-started.md | 2 +- docs/getting-started.zh-CN.md | 2 +- docs/tutorial.it-IT.md | 19 ++++++++++--------- docs/tutorial.ja-JP.md | 20 +++++++++++--------- docs/tutorial.ko-KR.md | 19 ++++++++++--------- docs/tutorial.md | 10 +++++----- docs/tutorial.zh-CN.md | 10 +++++----- downloads.md | 24 +++++++++++++----------- 19 files changed, 81 insertions(+), 73 deletions(-) diff --git a/docs/02-displaying-data.it-IT.md b/docs/02-displaying-data.it-IT.md index 087fb826..7f331480 100644 --- a/docs/02-displaying-data.it-IT.md +++ b/docs/02-displaying-data.it-IT.md @@ -19,8 +19,9 @@ Diamo un'occhiata ad un esempio davvero semplice. Creiamo un file dal nome `hell Hello React - - + + +
diff --git a/docs/02-displaying-data.ja-JP.md b/docs/02-displaying-data.ja-JP.md index 5e3ee8f7..013834ce 100644 --- a/docs/02-displaying-data.ja-JP.md +++ b/docs/02-displaying-data.ja-JP.md @@ -19,8 +19,9 @@ UIについて、最も基本的なことは、いくつかのデータを表示 Hello React - - + + +
diff --git a/docs/02-displaying-data.ko-KR.md b/docs/02-displaying-data.ko-KR.md index fd14b4f7..e932f847 100644 --- a/docs/02-displaying-data.ko-KR.md +++ b/docs/02-displaying-data.ko-KR.md @@ -18,9 +18,9 @@ UI를 가지고 할 수 있는 가장 기초적인 것은 데이터를 표시하 Hello React - - - + + +
diff --git a/docs/02-displaying-data.md b/docs/02-displaying-data.md index 7276bf32..f408baac 100644 --- a/docs/02-displaying-data.md +++ b/docs/02-displaying-data.md @@ -18,9 +18,9 @@ Let's look at a really simple example. Create a `hello-react.html` file with the Hello React - - - + + +
diff --git a/docs/02-displaying-data.ru-RU.md b/docs/02-displaying-data.ru-RU.md index df4eb11e..1dd30dfd 100644 --- a/docs/02-displaying-data.ru-RU.md +++ b/docs/02-displaying-data.ru-RU.md @@ -18,9 +18,9 @@ next: jsx-in-depth.html Hello React - - - + + +
diff --git a/docs/02-displaying-data.zh-CN.md b/docs/02-displaying-data.zh-CN.md index 9bb7e66c..339b568e 100644 --- a/docs/02-displaying-data.zh-CN.md +++ b/docs/02-displaying-data.zh-CN.md @@ -18,9 +18,9 @@ next: jsx-in-depth-zh-CN.html Hello React - - - + + +
diff --git a/docs/02-displaying-data.zh-TW.md b/docs/02-displaying-data.zh-TW.md index ed0c8ade..58937b8e 100644 --- a/docs/02-displaying-data.zh-TW.md +++ b/docs/02-displaying-data.zh-TW.md @@ -18,9 +18,9 @@ next: jsx-in-depth-zh-TW.html Hello React - - - + + +
diff --git a/docs/09.2-package-management.md b/docs/09.2-package-management.md index 3b4e03fb..6ba03c7e 100644 --- a/docs/09.2-package-management.md +++ b/docs/09.2-package-management.md @@ -105,7 +105,7 @@ bower install --save react Hello React! - +
diff --git a/docs/getting-started.it-IT.md b/docs/getting-started.it-IT.md index f15d01d6..10f04ee9 100644 --- a/docs/getting-started.it-IT.md +++ b/docs/getting-started.it-IT.md @@ -32,7 +32,7 @@ Nella directory principale dello starter kit, crea `helloworld.html` con il segu Ciao React! - +
diff --git a/docs/getting-started.ja-JP.md b/docs/getting-started.ja-JP.md index 61aa5f0c..a4230ec3 100644 --- a/docs/getting-started.ja-JP.md +++ b/docs/getting-started.ja-JP.md @@ -32,7 +32,7 @@ React でのハッキングを始めるにあたり、一番簡単なものと Hello React! - +
diff --git a/docs/getting-started.ko-KR.md b/docs/getting-started.ko-KR.md index 2ee25543..6450d704 100644 --- a/docs/getting-started.ko-KR.md +++ b/docs/getting-started.ko-KR.md @@ -59,7 +59,7 @@ $ browserify -t [ babelify --presets [ react ] ] main.js -o bundle.js Hello React! - +
diff --git a/docs/getting-started.md b/docs/getting-started.md index 10d0b761..0f262fb8 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -34,7 +34,7 @@ In the root directory of the starter kit, create a `helloworld.html` with the fo Hello React! - +
diff --git a/docs/getting-started.zh-CN.md b/docs/getting-started.zh-CN.md index 242724b6..d2edec8f 100644 --- a/docs/getting-started.zh-CN.md +++ b/docs/getting-started.zh-CN.md @@ -76,7 +76,7 @@ new webpack.DefinePlugin({ Hello React! - +
diff --git a/docs/tutorial.it-IT.md b/docs/tutorial.it-IT.md index 9eec9964..2eb259be 100755 --- a/docs/tutorial.it-IT.md +++ b/docs/tutorial.it-IT.md @@ -41,10 +41,11 @@ Per questo tutorial renderemo il tutto il più semplice possibile. Incluso nel p React Tutorial - - - - + + + + +
@@ -227,11 +228,11 @@ Per prima cosa, aggiungiamo la libreria di terze parti **marked** alla tua appli React Tutorial - - - - - + + + + + ``` diff --git a/docs/tutorial.ja-JP.md b/docs/tutorial.ja-JP.md index 0de8fc8f..65c757c0 100755 --- a/docs/tutorial.ja-JP.md +++ b/docs/tutorial.ja-JP.md @@ -41,10 +41,12 @@ next: thinking-in-react-ja-JP.html React Tutorial - - - - + + + + + +
@@ -223,11 +225,11 @@ Markdown はインラインでテキストをフォーマットする簡単な Hello React - - - - - + + + + + ``` diff --git a/docs/tutorial.ko-KR.md b/docs/tutorial.ko-KR.md index 32ffb18e..b3e49a75 100755 --- a/docs/tutorial.ko-KR.md +++ b/docs/tutorial.ko-KR.md @@ -41,10 +41,11 @@ next: thinking-in-react-ko-KR.html React Tutorial - - - - + + + + +
@@ -230,11 +231,11 @@ Markdown은 텍스트를 포맷팅하는 간단한 방식입니다. 예를 들 React Tutorial - - - - - + + + + + ``` diff --git a/docs/tutorial.md b/docs/tutorial.md index f6f96041..256e112c 100755 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -41,11 +41,11 @@ For this tutorial, we're going to make it as easy as possible. Included in the s React Tutorial - - - - - + + + + +
diff --git a/docs/tutorial.zh-CN.md b/docs/tutorial.zh-CN.md index 0b9e94a5..cffc5ffa 100755 --- a/docs/tutorial.zh-CN.md +++ b/docs/tutorial.zh-CN.md @@ -41,11 +41,11 @@ next: thinking-in-react-zh-CN.html React Tutorial - - - - - + + + + +
diff --git a/downloads.md b/downloads.md index 55edc964..a6bcb418 100644 --- a/downloads.md +++ b/downloads.md @@ -22,38 +22,40 @@ If you're just starting out, make sure to use the development version. ## Individual Downloads #### React {{site.react_version}} (development) -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). +The uncompressed, development version of [react.js](https://npmcdn.com/react@{{site.react_version}}/dist/react.js) and [react-dom.js](https://npmcdn.com/react-dom@{{site.react_version}}/dist/react-dom.js) with inline documentation (you need both files). ```html - - + + ``` #### 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). +The compressed, production version of [react.js](https://npmcdn.com/react@{{site.react_version}}/dist/react.min.js) and [react-dom.js](https://npmcdn.com/react-dom@{{site.react_version}}/dist/react-dom.min.js) (you need both). ```html - - + + ``` #### React with Add-Ons {{site.react_version}} (development) The uncompressed, development version of React with [optional add-ons](/react/docs/addons.html). ```html - - + + ``` #### React with Add-Ons {{site.react_version}} (production) The compressed, production version of React with [optional add-ons](/react/docs/addons.html). ```html - - + + ``` -All scripts are also available via [CDNJS](https://cdnjs.com/libraries/react/). +> Note: +> +> We're using [npmcdn](https://npmcdn.com) to serve these files. This is a free service with the goal to provide a hassle-free CDN for npm package authors. React is also available on other free CDNs including [cdnjs](https://cdnjs.com/libraries/react/) and [jsDelivr](https://www.jsdelivr.com/projects/react). If you have concerns with relying on an external host, we always recommend that you download React and serve it from your own servers. ## npm