Skip to content

Commit e0aecb3

Browse files
chalinkwalrath
authored andcommitted
docs(struct-directives): update Dart cache (angular#2806)
Only minor prose edits in this PR. No net change in the generated HTML for the TS side.
1 parent 0dfda08 commit e0aecb3

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed

public/_includes/_util-fns.jade

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
- var _appModuleTsVsAppCompTs = 'app/app.module.ts'
4444
- var _appModuleTsVsMainTs = 'app/app.module.ts'
4545
- var _bootstrapModule = 'bootstrapModule'
46+
- var _declsVsDirectives = 'declarations'
4647
- var _moduleVsComp = 'module'
4748
- var _moduleVsRootComp = 'module'
4849
- var _platformBrowserDynamicVsBootStrap = 'platformBrowserDynamic'

public/docs/dart/latest/_util-fns.jade

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ include ../../../_includes/_util-fns
2525
- var _appModuleTsVsAppCompTs = 'app/app_component.dart'
2626
- var _appModuleTsVsMainTs = 'web/main.dart'
2727
- var _bootstrapModule = 'bootstrap'
28+
- var _declsVsDirectives = 'directives'
2829
- var _moduleVsComp = 'component'
2930
- var _moduleVsRootComp = 'root component'
3031
- var _platformBrowserDynamicVsBootStrap = 'bootstrap'

public/docs/dart/latest/tutorial/toh-pt5.jade

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ extends ../../../ts/_cache/tutorial/toh-pt5
33
block includes
44
include ../_util-fns
55
- var _appRoutingTsVsAppComp = 'AppComponent'
6-
- var _declsVsDirectives = 'directives'
76
- var _RoutesVsAtRouteConfig = '@RouteConfig'
87
- var _RouterModuleVsRouterDirectives = 'ROUTER_DIRECTIVES'
98
- var _redirectTo = 'useAsDefault'

public/docs/ts/_cache/guide/structural-directives.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ block unless-intro
284284
+makeExample('structural-directives/ts/app/unless.directive.ts', null, 'unless.directive.ts')
285285

286286
:marked
287-
Now we add it to the `directives`array of the host component and try it.
287+
Now we add it to the `!{_declsVsDirectives}` !{_array} of the !{_AppModuleVsAppComp} and try it.
288288
First we add some test HTML to the template:
289289

290290
+makeExample('structural-directives/ts/app/structural-directives.component.html', 'myUnless')(format=".")

public/docs/ts/latest/guide/structural-directives.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ block unless-intro
284284
+makeExample('structural-directives/ts/app/unless.directive.ts', null, 'unless.directive.ts')
285285

286286
:marked
287-
Now we add it to the `declarations` array of the AppModule and try it.
287+
Now we add it to the `!{_declsVsDirectives}` !{_array} of the !{_AppModuleVsAppComp} and try it.
288288
First we add some test HTML to the template:
289289

290290
+makeExample('structural-directives/ts/app/structural-directives.component.html', 'myUnless')(format=".")

public/docs/ts/latest/tutorial/toh-pt5.jade

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
block includes
44
include ../_util-fns
55
- var _appRoutingTsVsAppComp = 'app.module.ts'
6-
- var _declsVsDirectives = 'declarations'
76
- var _RoutesVsAtRouteConfig = 'Routes'
87
- var _RouterModuleVsRouterDirectives = 'RouterModule'
98
- var _redirectTo = 'redirectTo'

0 commit comments

Comments
 (0)