New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(aio): apply guidelines and update TOCs in ts-to-js #16054
Conversation
## AOT Compilation in _TypeScript_ only | ||
|
||
Angular offers two modes of template compilation, JIT (_Just-in-Time_) and | ||
[AOT (_Ahead-of-Time_)](guide/aot-compiler). | ||
Angular offers two modes of template compilation, JIT (_just-in-time_) and |
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 lowercase? And wasn't it JiT and AoT?
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.
@Foxandxss It was recently changed in the wordlist.
aio/content/guide/ts-to-js.md
Outdated
<div class="l-sub-section"> | ||
|
||
|
||
|
||
In the example above, there is no provider for the `'titlePrefix'` token. |
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.
can we indent this? Not sure if it is a good idea but I think so
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.
@Foxandxss Sure - I just tried it and it worked. Last week it broke it to indent it. I like it indented better too.
EDIT: Another didn't work because there was a <script>
tag in the copy that throws it. Have to keep the spacing on that one, but any other <div>
should take indentation fine.
b31dab8
to
9e89c48
Compare
9e89c48
to
6a6c121
Compare
bd2c9fb
to
1d1b06a
Compare
</code-tabs> | ||
|
||
|
||
|
||
<div class="l-sub-section"> |
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.
you need a blank line here for the next lines to be recognized as markdown rather than plain HTML
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.
Done.
In the example above, there is no provider for the `'titlePrefix'` token. | ||
Without `@Optional()`, Angular would raise an error. | ||
With `@Optional()`, Angular sets the constructor parameter to `null` | ||
and the component displays the title without a prefix. |
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.
and a blank line 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.
Done.
aio/content/guide/ts-to-js.md
Outdated
<div class="l-sub-section"> | ||
_View_ children are associated with element tags that appear _within_ the component's template. |
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.
blank line before this line - and before the </div>
below.
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.
Done.
aio/content/guide/ts-to-js.md
Outdated
instead of the `@ViewChild` and `@ContentChild` property decorators. | ||
|
||
|
||
In _TypeScript_ and _ES6-with-decorators_ you can also use the `queries` metadata |
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.
you get the idea :-)
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.
Yes, thank you for looking out! :)
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.
if you have a block of HTML that should contain markdown then you need to separate the markdown from the HTML by blank lines.
1d1b06a
to
c05efcf
Compare
c05efcf
to
a145e73
Compare
So there's good news and bad news. 👍 The good news is that everyone that needs to sign a CLA (the pull request submitter and all commit authors) have done so. Everything is all good there. 😕 The bad news is that it appears that one or more commits were authored by someone other than the pull request submitter. We need to confirm that they're okay with their commits being contributed to this project. Please have them confirm that here in the pull request. Note to project maintainer: This is a terminal state, meaning the |
This PR LGTM |
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.
LGTM. This is a pure docs change the the Travis error is an unrelated flake. Merge away.
fix circle/ rebase |
CLAs look good, thanks! |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: