-
Notifications
You must be signed in to change notification settings - Fork 870
docs(guide/displaying-data): proofread #1819
Conversation
|
@Foxandxss @wardbell @kwalrath : ready for review. As usual, it is best viewed by ignoring whitespace diffs. |
|
TS part works for me. |
d653f20 to
13e7e07
Compare
| * declares a constructor parameter and its type | ||
| * declares a public property of the same name | ||
| * initializes that property with the corresponding argument when we "new" an instance of the class | ||
| +makeExcerpt('app/hero.ts ()', 'id') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does the () in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because of the () the mixin will render the title as app/hero.ts (excerpt).
13e7e07 to
db70c41
Compare
| * [Showing !{_an} !{_array} property with NgFor](#ngFor) | ||
| * [Conditional display with NgIf](#ngIf) | ||
|
|
||
| <li if-docs="ts">only ts</li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this line here? This shows up as a weird "only ts" bullet item in the TS version of the docs...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was just for a test. It should not have been left in (no sure how it slipped by). Thanks for catching it!
Fixed.
|
I did a side-by-side comparison, and apart from the couple of minor things I commented on, LGTM. |
db70c41 to
13fe33f
Compare
|
Fixed and committed. |
- Dart prose simplified by removing discussion of "additions to pubspec.yaml" which are no longer necessary given the current state of QuickStart. - E2e suites passed: public/docs/_examples/displaying-data/dart public/docs/_examples/displaying-data/ts Contributes to angular#1598 and angular#1508.
- TS prose updated to include @kwalrath's revisions from a while ago, with some of my edits as well. - E2e suites passed: public/docs/_examples/displaying-data/dart public/docs/_examples/displaying-data/ts
13fe33f to
1fb1df4
Compare
|
LGTM |
pubspec.yaml" which are no longer necessary given the current state of QuickStart.Contributes to #1598 and #1508.
Depends on #1818.