This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
public/docs/dart/latest/tutorial Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ code-example(format='').
403
403
We import the `OnInit` interface because we'll call the `HeroService` inside the `ngOnInit` component lifecycle hook.
404
404
+ makeExample('toh-5/dart/lib/hero_detail_component.dart' , 'import-oninit' )( format ="." )
405
405
:marked
406
- We inject the both the `RouteParams` service and the `HeroService` into the constructor as we've done before,
406
+ We inject both the `RouteParams` service and the `HeroService` into the constructor as we've done before,
407
407
making private variables for both:
408
408
+ makeExample('toh-5/dart/lib/hero_detail_component.dart' , 'ctor' , 'lib/hero_detail_component.dart (constructor)' )( format ="." )
409
409
:marked
@@ -584,7 +584,7 @@ figure.image-display
584
584
:marked
585
585
.l-sub-section
586
586
:marked
587
- The `styleUrls` property is an list of style file names (with paths).
587
+ The `styleUrls` property is a list of style file names (with paths).
588
588
We could list multiple style files from different locations if we needed them.
589
589
As with `templateUrl`, we must specify the path _all the way back to the application root_.
590
590
:marked
You can’t perform that action at this time.
0 commit comments