-
Notifications
You must be signed in to change notification settings - Fork 26.3k
docs(docs-infra): use modern apis #61706
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
Conversation
bce5972
to
937b7f0
Compare
Deployed adev-preview for 937b7f0 to: https://ng-dev-previews-fw--pr-angular-angular-61706-adev-prev-l16a3nyy.web.app Note: As new commits are pushed to this pull request, this link is updated after the preview is rebuilt. |
this.setupPageNavigationDimming(); | ||
} | ||
|
||
/** | ||
* Dims the main router-outlet content when navigating to a new page. | ||
*/ | ||
private setupPageNavigationDimming() { | ||
if (!this.isBrowser) { | ||
if (this.isServer) { |
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.
Is this changed in order to avoid the !
?
This is purely semantical and there isn't anything to suggest that we will support new platforms, so you can ignore my comment, but the check goes from "run only on a browser" (as intended) to "run on everything but a server".
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.
Yeah is was basically to drop the !
This PR was merged into the repository by commit e555c7f. The changes were merged into the following branches: main, 20.0.x |
No description provided.