Merge pull request #149 from todoubaba/style-guide
Polish style-guild.jade
This commit is contained in:
commit
2bdb81cbaa
|
@ -33,7 +33,6 @@
|
|||
"basics": true
|
||||
},
|
||||
|
||||
|
||||
"appmodule": {
|
||||
"title": "AppModule: 根模块",
|
||||
"navTitle": "根模块",
|
||||
|
@ -44,7 +43,7 @@
|
|||
|
||||
"displaying-data": {
|
||||
"title": "显示数据",
|
||||
"intro": "属性绑定机制把数据显示到UI上。",
|
||||
"intro": "属性绑定机制把数据显示到用户界面上。",
|
||||
"nextable": true,
|
||||
"basics": true
|
||||
},
|
||||
|
@ -65,7 +64,7 @@
|
|||
|
||||
"dependency-injection": {
|
||||
"title": "依赖注入",
|
||||
"intro": "Angular的依赖注入系统能够JIT(刚好及时)的创建和交付所依赖的服务。",
|
||||
"intro": "Angular 的依赖注入系统能够即时地创建和交付所依赖的服务。",
|
||||
"nextable": true,
|
||||
"basics": true
|
||||
},
|
||||
|
@ -78,7 +77,7 @@
|
|||
},
|
||||
|
||||
"cheatsheet": {
|
||||
"title": "Angular小抄",
|
||||
"title": "Angular 速查表",
|
||||
"intro": "一份 Angular 语法的快速指南",
|
||||
"nextable": true,
|
||||
"basics": true
|
||||
|
@ -103,7 +102,7 @@
|
|||
},
|
||||
|
||||
"ngmodule": {
|
||||
"title": "Angular模块(NgModule)",
|
||||
"title": "Angular模块 (NgModule)",
|
||||
"intro": "用@NgModule定义应用中的模块"
|
||||
},
|
||||
|
||||
|
@ -119,7 +118,7 @@
|
|||
|
||||
"browser-support": {
|
||||
"title": "浏览器支持",
|
||||
"intro": "浏览器支持与填充(Polyfill)指南"
|
||||
"intro": "浏览器支持与填充 (Polyfill) 指南"
|
||||
},
|
||||
|
||||
"component-styles": {
|
||||
|
@ -144,7 +143,7 @@
|
|||
},
|
||||
|
||||
"npm-packages": {
|
||||
"title": "Npm包",
|
||||
"title": "npm 包",
|
||||
"intro": "推荐的 npm 包以及如何指定所依赖的包"
|
||||
},
|
||||
|
||||
|
@ -160,7 +159,7 @@
|
|||
|
||||
"security": {
|
||||
"title": "安全",
|
||||
"intro": "开发“内容安全”的Angular应用。"
|
||||
"intro": "开发内容安全的 Angular 应用。"
|
||||
},
|
||||
|
||||
"setup-systemjs-anatomy": {
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -31,7 +31,7 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
|
|||
var count = 0;
|
||||
for (var i = 0; i < container.children.length; i++) {
|
||||
var node = container.children[i];
|
||||
var ignoredTagNames = ['CODE-EXAMPLE', 'SCRIPT', 'CODE', 'EM'];
|
||||
var ignoredTagNames = ['CODE-EXAMPLE', 'SCRIPT', 'CODE', 'EM', 'STRONG'];
|
||||
// ignore example code.
|
||||
if (node.classList.contains('code-example') ||
|
||||
ignoredTagNames.indexOf(node.tagName) >= 0) {
|
||||
|
|
Loading…
Reference in New Issue