From 8b003d4015aba2f8a4eba1efb99a9b78fe5ea1a5 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Sat, 15 Apr 2017 22:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E8=AE=A2=E5=AE=8Cstructural=20directi?= =?UTF-8?q?ves?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/docs/js/latest/guide/cheatsheet.json | 6 +++--- public/docs/ts/latest/guide/cheatsheet.json | 6 +++--- .../docs/ts/latest/guide/dependency-injection.jade | 4 ++-- .../docs/ts/latest/guide/structural-directives.jade | 12 ++++++------ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/public/docs/js/latest/guide/cheatsheet.json b/public/docs/js/latest/guide/cheatsheet.json index 3c23adb578..4cde37b016 100644 --- a/public/docs/js/latest/guide/cheatsheet.json +++ b/public/docs/js/latest/guide/cheatsheet.json @@ -8,13 +8,13 @@ "prerelease": [ "local" ], - "build": "sha.0ce88ec", + "build": "sha.3271832", "version": "4.0.0-local", "codeName": "snapshot", "isSnapshot": true, - "full": "4.0.0-local+sha.0ce88ec", + "full": "4.0.0-local+sha.3271832", "branch": "master", - "commitSHA": "0ce88ece13bbfe82dc0b19b6608dab206ea9800b" + "commitSHA": "32718328dc513900bdec26f78bf7b7547d1703d8" }, "sections": [] } \ No newline at end of file diff --git a/public/docs/ts/latest/guide/cheatsheet.json b/public/docs/ts/latest/guide/cheatsheet.json index 8a199949b6..ff8dc2185b 100644 --- a/public/docs/ts/latest/guide/cheatsheet.json +++ b/public/docs/ts/latest/guide/cheatsheet.json @@ -8,13 +8,13 @@ "prerelease": [ "local" ], - "build": "sha.0ce88ec", + "build": "sha.3271832", "version": "4.0.0-local", "codeName": "snapshot", "isSnapshot": true, - "full": "4.0.0-local+sha.0ce88ec", + "full": "4.0.0-local+sha.3271832", "branch": "master", - "commitSHA": "0ce88ece13bbfe82dc0b19b6608dab206ea9800b" + "commitSHA": "32718328dc513900bdec26f78bf7b7547d1703d8" }, "sections": [] } \ No newline at end of file diff --git a/public/docs/ts/latest/guide/dependency-injection.jade b/public/docs/ts/latest/guide/dependency-injection.jade index a761f24cab..ae435679b5 100644 --- a/public/docs/ts/latest/guide/dependency-injection.jade +++ b/public/docs/ts/latest/guide/dependency-injection.jade @@ -941,7 +941,7 @@ code-example(format="nocode"). //- Dart limitation: the provide function isn't const so it cannot be used in an annotation. -#provide +a#provide :marked ### The *Provider* class and _provide_ object literal @@ -977,7 +977,7 @@ code-example(format="nocode"). 可以把它看做是指导如何创建依赖值的*配方*。 有很多方式创建依赖值…… 也有很多方式可以写配方。 -#class-provider +a#class-provider :marked ### Alternative class providers diff --git a/public/docs/ts/latest/guide/structural-directives.jade b/public/docs/ts/latest/guide/structural-directives.jade index e304e52680..b932bcdc15 100644 --- a/public/docs/ts/latest/guide/structural-directives.jade +++ b/public/docs/ts/latest/guide/structural-directives.jade @@ -10,7 +10,7 @@ style. This guide looks at how Angular manipulates the DOM with **structural directives** and how you can write your own structural directives to do the same thing. - 在本章中,我们将看看Angular如何操纵DOM树,以及我们该如何在自己的指令中这么做。 + 在本章中,我们将看看Angular如何用*结构型指令*操纵DOM树,以及我们该如何写自己的结构型指令来完成同样的任务。 ### Table of contents @@ -178,9 +178,8 @@ a#ngIf The `ngIf` directive doesn't hide elements with CSS. It adds and removes them physically from the DOM. Confirm that fact using browser developer tools to inspect the DOM. - `ngIf`指令并不会隐藏元素。 - 使用浏览器的开发者工具就会看到:当`condition`为真的时候,只剩下了DOM顶部的段落,而底部无用的段落完全从DOM中消失了! - 在它的位置上是空白的`