Update architecture.jade

英文原文:”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地址”。
This commit is contained in:
jin-xinchen 2017-03-22 15:04:30 -04:00 committed by GitHub
parent a3364d89e3
commit 16d92685e3
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ block ts-decorator
:marked :marked
<ul if-docs="ts"><li>`moduleId`: sets the source of the base address (`module.id`) for module-relative URLs such as the `templateUrl`.</ul> <ul if-docs="ts"><li>`moduleId`: sets the source of the base address (`module.id`) for module-relative URLs such as the `templateUrl`.</ul>
`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 - `selector`: CSS selector that tells Angular to create and insert an instance of this component
where it finds a `<hero-list>` tag in *parent* HTML. where it finds a `<hero-list>` tag in *parent* HTML.