translate new lines for style-guide, after merge.
This commit is contained in:
parent
dd4e887b47
commit
57a0ca5873
|
@ -1685,9 +1685,13 @@ a(href="#toc") 回到顶部
|
|||
:marked
|
||||
**Why?** A barrel provides a consistent pattern to import everything exported in the barrel from a folder.
|
||||
|
||||
**为何?** 封装通提供一致连贯的模式,用来导入从一个目录中的封装的所有导出的东西。
|
||||
|
||||
.s-why
|
||||
:marked
|
||||
**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
|
||||
:marked
|
||||
|
@ -2769,12 +2773,13 @@ a(href="#toc") 回到顶部
|
|||
|
||||
**考虑**使用[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">
|
||||
<img src="https://github.com/johnpapa/vscode-angular2-snippets/raw/master/images/use-extension.gif", width="80%", alt="Use Extension">
|
||||
</a>
|
||||
<img src="https://github.com/johnpapa/vscode-angular2-snippets/raw/master/images/use-extension.gif", width="80%", alt="Use Extension">
|
||||
</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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue