Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 58e5fbe

Browse files
authored
chore: miscelanea fixes for new aio (#3491)
1 parent 6fa6a1d commit 58e5fbe

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

public/docs/ts/latest/cookbook/ts-to-js.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ a#toc
2626
* [View and Child Decorators](#view-child-decorators)<br>
2727
* [AOT compilation in _TypeScript_ Only](#aot)<br>
2828

29-
**Run and compare the live <live-example name="cb-ts-to-js">_TypeScript_</live-example> and <live-example name="cb-ts-to-js" lang="js">JavaScript</live-example>
29+
**Run and compare the live <live-example name="cb-ts-to-js">TypeScript</live-example> and <live-example name="cb-ts-to-js" lang="js">JavaScript</live-example>
3030
code shown in this cookbook.**
3131

3232
a#from-ts

public/docs/ts/latest/guide/ngmodule.jade

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ block includes
5858
* <live-example plnkr="minimal.0">A minimal NgModule app</live-example>
5959
* <live-example plnkr="contact.1b">The first contact module</live-example>
6060
* <live-example plnkr="contact.2">The revised contact module</live-example>
61-
* <live-example plnkr="pre-shared.3">Just before adding _SharedModule_</live-example>
61+
* <live-example plnkr="pre-shared.3">Just before adding SharedModule</live-example>
6262
* <live-example>The final version</live-example>
6363

6464
### Frequently asked questions (FAQs)
@@ -823,11 +823,10 @@ a#shared-module
823823
and share them with the modules that need them.
824824

825825
1. Create an `src/app/shared` folder.
826-
827-
* Move the `AwesomePipe` and `HighlightDirective` from `src/app/contact` to `src/app/shared`.
828-
* Delete the `HighlightDirective` classes from `src/app/` and `src/app/hero`.
829-
* Create a `SharedModule` class to own the shared material.
830-
* Update other feature modules to import `SharedModule`.
826+
1. Move the `AwesomePipe` and `HighlightDirective` from `src/app/contact` to `src/app/shared`.
827+
1. Delete the `HighlightDirective` classes from `src/app/` and `src/app/hero`.
828+
1. Create a `SharedModule` class to own the shared material.
829+
1. Update other feature modules to import `SharedModule`.
831830

832831
Here is the `SharedModule`:
833832
+makeExample('ngmodule/ts/src/app/shared/shared.module.ts', '', 'src/app/src/app/shared/shared.module.ts')

public/docs/ts/latest/tutorial/toh-pt5.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ a#configure-routes
290290
+makeExample('toh-5/ts/src/app/app.module.ts', 'dashboard', 'src/app/app.module.ts (dashboard)')
291291

292292
:marked
293-
### Add a !{_redirect} route
293+
### Add a redirect route
294294

295295
Currently, the browser launches with `/` in the address bar.
296296
When the app starts, it should show the dashboard and

public/docs/ts/latest/tutorial/toh-pt6.jade

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ block includes
2424
## Keep the app transpiling and running
2525
Enter the following command in the terminal window:
2626

27-
code-example(language="sh" class="code-shell").
28-
npm start
27+
code-example(language="sh" class="code-shell").
28+
npm start
2929

30-
:marked
31-
This command runs the TypeScript compiler in "watch mode", recompiling automatically when the code changes.
32-
The command simultaneously launches the app in a browser and refreshes the browser when the code changes.
30+
:marked
31+
This command runs the TypeScript compiler in "watch mode", recompiling automatically when the code changes.
32+
The command simultaneously launches the app in a browser and refreshes the browser when the code changes.
3333

3434
:marked
3535
You can keep building the Tour of Heroes without pausing to recompile or refresh the browser.

0 commit comments

Comments
 (0)