From 11701c009f05f2f8d6aaf45eb3aaf60870d68d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Rodr=C3=ADguez?= Date: Wed, 22 Feb 2017 04:45:02 +0100 Subject: [PATCH] chore: fix a few standing typos (#3280) --- public/docs/ts/latest/guide/appmodule.jade | 2 +- public/docs/ts/latest/guide/reactive-forms.jade | 2 +- public/docs/ts/latest/guide/router.jade | 2 +- public/docs/ts/latest/guide/style-guide.jade | 2 +- public/docs/ts/latest/tutorial/toh-pt6.jade | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/docs/ts/latest/guide/appmodule.jade b/public/docs/ts/latest/guide/appmodule.jade index 49c7e51e4d..53019cb065 100644 --- a/public/docs/ts/latest/guide/appmodule.jade +++ b/public/docs/ts/latest/guide/appmodule.jade @@ -131,7 +131,7 @@ l-main-section Your initial app has only a single module, the _root_ module. As your app grows, you'll consider subdividing it into multiple "feature" modules, - so of which can be loaded later ("lazy loaded") if and when the user chooses + some of which can be loaded later ("lazy loaded") if and when the user chooses to visit those features. When you're ready to explore these possibilities, visit the [Angular Modules (NgModule)](ngmodule.html) guide. diff --git a/public/docs/ts/latest/guide/reactive-forms.jade b/public/docs/ts/latest/guide/reactive-forms.jade index ee70caccc2..7534345567 100644 --- a/public/docs/ts/latest/guide/reactive-forms.jade +++ b/public/docs/ts/latest/guide/reactive-forms.jade @@ -177,7 +177,7 @@ a#create-component :marked The `moduleId: module.id` lets you use - [component-relative paths](./cookbook/component-relative-paths.html) in file URLs + [component-relative paths](../cookbook/component-relative-paths.html) in file URLs such as when specifying the `templateUrl`. Next, create an exported `HeroDetailComponent` class with a `FormControl`. diff --git a/public/docs/ts/latest/guide/router.jade b/public/docs/ts/latest/guide/router.jade index d331af61f3..066ee24bc9 100644 --- a/public/docs/ts/latest/guide/router.jade +++ b/public/docs/ts/latest/guide/router.jade @@ -2416,7 +2416,7 @@ h3#can-load-guard CanLoad Guard: guarding unauthorized loading of feature It redirects to the login page if the user is not authorized. But the router is still loading the `AdminModule` even if the user can't visit any of its components. - Ideally, you's only load the `AdminModule` if the user is logged in. + Ideally, you'd only load the `AdminModule` if the user is logged in. Add a **`CanLoad`** guard that only loads the `AdminModule` once the user is logged in _and_ attempts to access the admin feature area. diff --git a/public/docs/ts/latest/guide/style-guide.jade b/public/docs/ts/latest/guide/style-guide.jade index 5ff8c437a8..5fcb8d395d 100644 --- a/public/docs/ts/latest/guide/style-guide.jade +++ b/public/docs/ts/latest/guide/style-guide.jade @@ -181,7 +181,7 @@ a(href="#toc") Back to top .s-why :marked - **Why?** The naming conventions should simply help find desited code faster and make it easier to understand. + **Why?** The naming conventions should simply help find desired code faster and make it easier to understand. .s-why.s-why-last :marked diff --git a/public/docs/ts/latest/tutorial/toh-pt6.jade b/public/docs/ts/latest/tutorial/toh-pt6.jade index a5559b72af..1fb3bec86c 100644 --- a/public/docs/ts/latest/tutorial/toh-pt6.jade +++ b/public/docs/ts/latest/tutorial/toh-pt6.jade @@ -416,7 +416,7 @@ block observables-section-intro +ifDocsFor('ts') :marked A more important difference: we no longer call `toPromise`. - Instead we return the *observable* from the the `htttp.get`, + Instead we return the *observable* from the the `http.get`, after chaining it to another RxJS operator, map, to extract heroes from the response data.