From 27745c5d8c8d2478200d63e163ac238e04c2dad4 Mon Sep 17 00:00:00 2001 From: thanhpd <6737911+thanhpd@users.noreply.github.com> Date: Sun, 27 Oct 2019 00:00:38 +0700 Subject: [PATCH] docs: added missing whitespaces (#33424) PR Close #33424 --- aio/content/guide/aot-compiler.md | 2 +- aio/content/guide/dependency-injection-in-action.md | 2 +- aio/content/guide/hierarchical-dependency-injection.md | 2 +- aio/content/guide/schematics-authoring.md | 2 +- aio/content/guide/testing.md | 2 +- aio/content/guide/upgrade-performance.md | 2 +- aio/content/tutorial/toh-pt6.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/aio/content/guide/aot-compiler.md b/aio/content/guide/aot-compiler.md index ae3e63c7e7..f89d371650 100644 --- a/aio/content/guide/aot-compiler.md +++ b/aio/content/guide/aot-compiler.md @@ -659,7 +659,7 @@ There is no convenient way to describe this constraint to TypeScript and the tem The non-null assertion operator should be used sparingly as refactoring of the component might break this constraint. -In this example it is recommended to include the checking of `address` in the `*ngIf`as shown below: +In this example it is recommended to include the checking of `address` in the `*ngIf` as shown below: ```typescript @Component({ diff --git a/aio/content/guide/dependency-injection-in-action.md b/aio/content/guide/dependency-injection-in-action.md index 50a7ef6bcc..dddfd59964 100644 --- a/aio/content/guide/dependency-injection-in-action.md +++ b/aio/content/guide/dependency-injection-in-action.md @@ -574,7 +574,7 @@ as the token for a provider of `LoggerService`. An abstract class is usually a base class that you can extend. In this app, however there is no class that inherits from `MinimalLogger`. -The `LoggerService` and the `DateLoggerService`could have inherited from `MinimalLogger`, +The `LoggerService` and the `DateLoggerService` could have inherited from `MinimalLogger`, or they could have implemented it instead, in the manner of an interface. But they did neither. `MinimalLogger` is used only as a dependency injection token. diff --git a/aio/content/guide/hierarchical-dependency-injection.md b/aio/content/guide/hierarchical-dependency-injection.md index 06052c8093..43ab195586 100644 --- a/aio/content/guide/hierarchical-dependency-injection.md +++ b/aio/content/guide/hierarchical-dependency-injection.md @@ -564,7 +564,7 @@ The next step is to add a binding to the `ChildComponent` template. To render the new values, add `` to the bottom of -the`AppComponent` template so the view also displays the sunflower: +the `AppComponent` template so the view also displays the sunflower: ``` Child Component diff --git a/aio/content/guide/schematics-authoring.md b/aio/content/guide/schematics-authoring.md index 6bf10cfb7c..3d23bf96b9 100644 --- a/aio/content/guide/schematics-authoring.md +++ b/aio/content/guide/schematics-authoring.md @@ -30,7 +30,7 @@ The context also defines a *merge strategy* that determines how changes are merg ### Defining rules and actions When you create a new blank schematic with the [Schematics CLI](#cli), the generated entry function is a *rule factory*. -A `RuleFactory`object defines a higher-order function that creates a `Rule`. +A `RuleFactory` object defines a higher-order function that creates a `Rule`. import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics'; diff --git a/aio/content/guide/testing.md b/aio/content/guide/testing.md index 952090a592..3fd75cfe3a 100644 --- a/aio/content/guide/testing.md +++ b/aio/content/guide/testing.md @@ -2972,7 +2972,7 @@ appropriate to the method, that is, the parameter of an `@NgModule`, {@a testbed-methods} {@a testbed-api-summary} -The `TestBed` API consists of static class methods that either update or reference a _global_ instance of the`TestBed`. +The `TestBed` API consists of static class methods that either update or reference a _global_ instance of the `TestBed`. Internally, all static methods cover methods of the current runtime `TestBed` instance, which is also returned by the `getTestBed()` function. diff --git a/aio/content/guide/upgrade-performance.md b/aio/content/guide/upgrade-performance.md index f0f8274651..60d3e0626b 100644 --- a/aio/content/guide/upgrade-performance.md +++ b/aio/content/guide/upgrade-performance.md @@ -315,7 +315,7 @@ Angular app. The setup for a hybrid app is mostly the same as described in the `main-aot.ts`. AOT needs to load any AngularJS files that are in the `