diff --git a/app/_locales/ja/2.0/start/quick-tour.md b/app/_locales/ja/2.0/start/quick-tour.md index aaa45c47b9..5e585b7fb1 100644 --- a/app/_locales/ja/2.0/start/quick-tour.md +++ b/app/_locales/ja/2.0/start/quick-tour.md @@ -8,10 +8,9 @@ Polymerを使えば、宣言的記述によりWeb Componentsを簡単に作成 New web developers can simply add custom HTML elements on a web page with markdown. It’s just like using the HTML tags you’re already familiar with: -
<h1>A heading!</h1>
-
-<fancy-thing>A fancy thing!</fancy-thing>
+A heading!
+A fancy thing!
カスタム要素は、Polymerの提供する以下のような機能を利用でき、シンプルな記述によって複雑でインタラクティブな性質を持ったカスタム要素を容易に構築することができます。:
@@ -29,30 +28,31 @@ New web developers can simply add custom HTML elements on a web page with markdo
新しいカスタム要素を登録するには、ES6で導入されたclass構文を使い`Polymer.Element`クラスを拡張した上で、`customElements.define`メソッドを呼び出しカスタム要素をブラウザに_登録_します。この登録によってカスタム要素名とclass名が関連付けられます。なお、カスタム要素の名前は**ASCII文字で始まりダッシュ(-)を含める必要があります**。
-{{{include_file('2.0/start/samples/custom-element/custom-element.html')}}}
{{{include_file('2.0/start/samples/custom-element/index.html')}}}
+
-
+
@@ -60,23 +60,27 @@ Try it out in **Plunker**:
多くの要素は、独自のUIや動作を実装するために内部にDOMノードを持っています。PolymerのDOMテンプレートを使うことで、カスタム要素にShadow DOMというDOMのサブツリーを作成できます。
-{{{include_file('2.0/start/samples/dom-element/dom-element.html')}}}{{{include_file('2.0/start/samples/dom-element/index.html')}}}A heading!
` or `A link!`
+
+- Try adding some other html elements inside the
+ block. For example, add or A heading!
A link!
Shadow DOMはカスタム要素の内部にカプセル化されています。
-{{{include_file('2.0/start/samples/picture-frame/picture-frame.html')}}}{{{include_file('2.0/start/samples/picture-frame/index.html')}}}{{{include_file('2.0/start/samples/name-tag/name-tag.html')}}}{{{include_file('2.0/start/samples/name-tag/index.html')}}}{{{include_file('2.0/start/samples/configurable-name-tag/configurable-name-tag.html')}}}{{{include_file('2.0/start/samples/configurable-name-tag/index.html')}}}{{{include_file('2.0/start/samples/editable-name-tag/editable-name-tag.html')}}}{{{include_file('2.0/start/samples/editable-name-tag/index.html')}}}{{{include_file('2.0/start/samples/employee-list/employee-list.html')}}}{{{include_file('2.0/start/samples/employee-list/index.html')}}}
- ```
- ,
- {first: 'Shawna', last: 'Williams'}
- ```
+
+- Change the first and last names inside this.employees
+- Add another employee by inserting the following text into the array definition after Tony Morelli:
+ ```
+ ,
+ {first: 'Shawna', last: 'Williams'}
+ ```