From 16d92685e3ba638341b4fa9498cbf97d7ebdd0c4 Mon Sep 17 00:00:00 2001 From: jin-xinchen Date: Wed, 22 Mar 2017 15:04:30 -0400 Subject: [PATCH] Update architecture.jade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 英文原文:”sets the source of the base address (module.id) for module-relative URLs such as the templateUrl“ 中文原文:”为与模块相关的 URL(例如templateUrl)提供基地址“ 修改后:“把moduleId设定为起点地址(module.id)是为了说明启用了模块之间的相对地址,例如,当moduleId为“module.id”时,说明当前‘templaterUrl’的值采用了相对URL地址”。 --- public/docs/ts/latest/guide/architecture.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/ts/latest/guide/architecture.jade b/public/docs/ts/latest/guide/architecture.jade index a14175fe89..906b35efb6 100644 --- a/public/docs/ts/latest/guide/architecture.jade +++ b/public/docs/ts/latest/guide/architecture.jade @@ -440,7 +440,7 @@ block ts-decorator :marked - `moduleId`: 为与模块相关的 URL(例如`templateUrl`)提供基地址。 + `moduleId`: 把moduleId设定为起点地址(module.id)是为了说明启用了模块之间的相对地址,例如,当moduleId为“module.id”时,说明当前‘templaterUrl’的值采用了相对URL地址。 - `selector`: CSS selector that tells Angular to create and insert an instance of this component where it finds a `` tag in *parent* HTML.