Browse Source

Add meta tag in the header of HTML

main
Kohei TAKATA 10 years ago
parent
commit
1f4e2f5fbe
  1. 1
      docs/02-displaying-data.ja-JP.md
  2. 1
      docs/02-displaying-data.ko-KR.md
  3. 1
      docs/02-displaying-data.md
  4. 3
      docs/02-displaying-data.zh-CN.md
  5. 2
      docs/getting-started.ja-JP.md
  6. 2
      docs/getting-started.ko-KR.md
  7. 4
      docs/getting-started.md
  8. 2
      docs/getting-started.zh-CN.md
  9. 2
      docs/tutorial.ja-JP.md
  10. 2
      docs/tutorial.ko-KR.md
  11. 2
      docs/tutorial.md

1
docs/02-displaying-data.ja-JP.md

@ -17,6 +17,7 @@ UIについて、最も基本的なことは、いくつかのデータを表示
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://fb.me/react-{{site.react_version}}.js"></script>
<script src="https://fb.me/JSXTransformer-{{site.react_version}}.js"></script>

1
docs/02-displaying-data.ko-KR.md

@ -16,6 +16,7 @@ UI를 가지고 할 수 있는 가장 기초적인 것은 데이터를 표시하
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://fb.me/react-{{site.react_version}}.js"></script>
<script src="https://fb.me/JSXTransformer-{{site.react_version}}.js"></script>

1
docs/02-displaying-data.md

@ -17,6 +17,7 @@ Let's look at a really simple example. Create a `hello-react.html` file with the
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://fb.me/react-{{site.react_version}}.js"></script>
<script src="https://fb.me/JSXTransformer-{{site.react_version}}.js"></script>

3
docs/02-displaying-data.zh-CN.md

@ -18,6 +18,7 @@ next: jsx-in-depth-zh-CN.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://fb.me/react-{{site.react_version}}.js"></script>
<script src="https://fb.me/JSXTransformer-{{site.react_version}}.js"></script>
@ -80,7 +81,7 @@ React 组件非常简单。你可以认为它们就是简单的函数,接受 `
我们得出解决这个问题最好的方案是通过 JavaScript 直接生成模板,这样你就可以用一个真正语言的所有表达能力去构建用户界面。为了使这变得更简单,我们做了一个非常简单、**可选**类似 HTML 语法 ,通过函数调用即可生成模板的编译器,称为 JSX。
**JSX 让你可以用 HTML 语法去写 JavaScript 函数调用** 为了在 React 生成一个链接,通过纯 JavaScript 你可以这么写:
**JSX 让你可以用 HTML 语法去写 JavaScript 函数调用** 为了在 React 生成一个链接,通过纯 JavaScript 你可以这么写:
`React.createElement('a', {href: 'https://facebook.github.io/react/'}, 'Hello React!')`

2
docs/getting-started.ja-JP.md

@ -29,6 +29,7 @@ React でのハッキングを始めるにあたり、一番簡単なものと
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="build/react.js"></script>
<script src="build/JSXTransformer.js"></script>
@ -95,6 +96,7 @@ React.render(
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="build/react.js"></script>
<!-- JSXTransformer は必要ありません! -->

2
docs/getting-started.ko-KR.md

@ -29,6 +29,7 @@ React를 시작하는 가장 빠른 방법은 다음의 Hello World JSFiddle 예
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="build/react.js"></script>
<script src="build/JSXTransformer.js"></script>
@ -93,6 +94,7 @@ React.render(
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="build/react.js"></script>
<!-- JSXTransformer는 이제 불필요합니다! -->

4
docs/getting-started.md

@ -28,6 +28,7 @@ In the root directory of the starter kit, create a `helloworld.html` with the fo
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="build/react.js"></script>
<script src="build/JSXTransformer.js"></script>
@ -94,6 +95,7 @@ Update your HTML file as below:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="build/react.js"></script>
<!-- No need for JSXTransformer! -->
@ -111,7 +113,7 @@ If you want to use React with [browserify](http://browserify.org/), [webpack](ht
## Next Steps
Check out [the tutorial](/react/docs/tutorial.html) and the other examples in the starter kit's `examples` directory to learn more.
Check out [the tutorial](/react/docs/tutorial.html) and the other examples in the starter kit's `examples` directory to learn more.
We also have a wiki where the community contributes with [workflows, UI-components, routing, data management etc.](https://github.com/facebook/react/wiki/Complementary-Tools)

2
docs/getting-started.zh-CN.md

@ -29,6 +29,7 @@ redirect_from: "docs/index-zh-CN.html"
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="build/react.js"></script>
<script src="build/JSXTransformer.js"></script>
@ -94,6 +95,7 @@ React.render(
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React!</title>
<script src="build/react.js"></script>
<!-- 不需要 JSXTransformer! -->

2
docs/tutorial.ja-JP.md

@ -39,6 +39,7 @@ next: thinking-in-react-ja-JP.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/JSXTransformer.js"></script>
@ -219,6 +220,7 @@ Markdown はインラインでテキストをフォーマットする簡単な
```html{7}
<!-- index.html -->
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/JSXTransformer.js"></script>

2
docs/tutorial.ko-KR.md

@ -39,6 +39,7 @@ next: thinking-in-react-ko-KR.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/JSXTransformer.js"></script>
@ -222,6 +223,7 @@ Markdown은 텍스트를 포맷팅하는 간단한 방식입니다. 예를 들
```html{7}
<!-- index.html -->
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/JSXTransformer.js"></script>

2
docs/tutorial.md

@ -38,6 +38,7 @@ For this tutorial, we'll use prebuilt JavaScript files on a CDN. Open up your fa
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/JSXTransformer.js"></script>
@ -220,6 +221,7 @@ First, add the third-party library **marked** to your application. This is a Jav
```html{7}
<!-- index.html -->
<head>
<meta charset="UTF-8" />
<title>Hello React</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/react.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/{{site.react_version}}/JSXTransformer.js"></script>

Loading…
Cancel
Save