translate new lines for style-guide, after merge.

This commit is contained in:
Zhimin YE (Rex) 2016-06-02 09:15:49 +01:00
parent dd4e887b47
commit 57a0ca5873
1 changed files with 10 additions and 5 deletions

View File

@ -1685,9 +1685,13 @@ a(href="#toc") 回到顶部
:marked :marked
**Why?** A barrel provides a consistent pattern to import everything exported in the barrel from a folder. **Why?** A barrel provides a consistent pattern to import everything exported in the barrel from a folder.
**为何?** 封装通提供一致连贯的模式,用来导入从一个目录中的封装的所有导出的东西。
.s-why .s-why
:marked :marked
**Why?** This is consistent with a pattern from Node, which imports the index.js|ts file from a folder. **Why?** This is consistent with a pattern from Node, which imports the index.js|ts file from a folder.
**为何?** 这是一个从Node沿袭的一致连贯模式用来从一个目录导入index.js|ts。
.s-why.s-why-last .s-why.s-why-last
:marked :marked
@ -2769,12 +2773,13 @@ a(href="#toc") 回到顶部
**考虑**使用[Visual Studio Code](https://code.visualstudio.com/)的[代码片段](https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2)来实施本风格指南。 **考虑**使用[Visual Studio Code](https://code.visualstudio.com/)的[代码片段](https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2)来实施本风格指南。
[![Use Extension](https://github.com/johnpapa/vscode-angular2-snippets/raw/master/images/use-extension.gif)](https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2)
[![使用插件](https://github.com/johnpapa/vscode-angular2-snippets/raw/master/images/use-extension.gif)](https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2)
<a href="https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2"> <a href="https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2">
<img src="https://github.com/johnpapa/vscode-angular2-snippets/raw/master/images/use-extension.gif", width="80%", alt="Use Extension"> <img src="https://github.com/johnpapa/vscode-angular2-snippets/raw/master/images/use-extension.gif", width="80%", alt="Use Extension">
</a> </a>
<a href="https://marketplace.visualstudio.com/items?itemName=johnpapa.Angular2">
<img src="https://github.com/johnpapa/vscode-angular2-snippets/raw/master/images/use-extension.gif", width="80%", alt="Use Extension">
</a>
**Consider** using [snippets](https://atom.io/packages/angular-2-typescript-snippets) for [Atom](https://atom.io/) that follow these styles and guidelines. **Consider** using [snippets](https://atom.io/packages/angular-2-typescript-snippets) for [Atom](https://atom.io/) that follow these styles and guidelines.