From 6102512a4d10a1531fa8bd81f1d93fa1cd473ed4 Mon Sep 17 00:00:00 2001 From: chenc Date: Thu, 6 Jun 2019 10:21:52 +0800 Subject: [PATCH] my -> app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 上文说的是 appHighlight 这个自定义指令, 但是在下边的描述中说的是 my 前缀, 所以这边是不是应该是 my 前缀才对呢? --- aio/content/guide/attribute-directives.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/guide/attribute-directives.md b/aio/content/guide/attribute-directives.md index 4fc9241289..53c071c491 100644 --- a/aio/content/guide/attribute-directives.md +++ b/aio/content/guide/attribute-directives.md @@ -149,7 +149,7 @@ Make sure you do **not** prefix the `highlight` directive name with **`ng`** bec that prefix is reserved for Angular and using it could cause bugs that are difficult to diagnose. 确认你**没有**给 `highlight` 指令添加**`ng`**前缀。 -那个前缀属于 Angular,使用它可能导致难以诊断的 bug。例如,这个简短的前缀 `my` 可以帮助你区分自定义指令。 +那个前缀属于 Angular,使用它可能导致难以诊断的 bug。例如,这个简短的前缀 `app` 可以帮助你区分自定义指令。