From e07b7ea114b619fbd3080d92f2f13754051e6de4 Mon Sep 17 00:00:00 2001 From: Jesus Rodriguez Date: Wed, 19 Apr 2017 16:09:00 +0200 Subject: [PATCH] docs(aio): fix broken regions --- aio/content/guide/router.md | 20 +++++++++---------- aio/content/guide/template-syntax.md | 4 ++-- aio/content/tutorial/toh-pt5.md | 6 +++--- aio/content/tutorial/toh-pt6.md | 2 +- .../transforms/angular.io-package/index.js | 4 +--- 5 files changed, 17 insertions(+), 19 deletions(-) diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index 595a11d63a..382baf3343 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -206,7 +206,7 @@ The following example creates four route definitions, configures the router via and adds the result to the `AppModule`'s `imports` array. - + @@ -915,7 +915,7 @@ Instead of adding the `"/sidekicks"` route, define a `wildcard` route instead an Create the `PageNotFoundComponent` to display when users visit invalid URLs. - + @@ -1436,7 +1436,7 @@ Remove the `HeroListComponent` import and the `/heroes` route from the `app-rout These are concerns at the top level of the application itself. - + @@ -3138,7 +3138,7 @@ The `redirectUrl` property will store the attempted URL so you can navigate to i Revise the `AuthGuard` to call it. - + @@ -3348,7 +3348,7 @@ wanted to use this guard for this component and needed to get the component's properties or confirm whether the router should allow navigation away from it. - + @@ -3372,7 +3372,7 @@ to resolve to truthy (navigate) or falsy (stay put). Add the `Guard` to the crisis detail route in `crisis-center-routing.module.ts` using the `canDeactivate` array. - + @@ -3559,7 +3559,7 @@ Add an `anchor` element so you can jump to a certain point on the page. Add the `NavigationExtras` object to the `router.navigate` method that navigates you to the `/login` route. - + @@ -3582,7 +3582,7 @@ Since you'll be navigating to the *Admin Dashboard* route after logging in, you' query parameters and fragment. - + @@ -3923,7 +3923,7 @@ Now edit the `AdminDashboardComponent` to display the log of preloaded routes. When you're done it looks like this. - + @@ -4196,7 +4196,7 @@ providing the `useHash: true` in an object as the second argument of the `Router in the `AppModule`. - + diff --git a/aio/content/guide/template-syntax.md b/aio/content/guide/template-syntax.md index 04e4d1dd3c..f445b3776a 100644 --- a/aio/content/guide/template-syntax.md +++ b/aio/content/guide/template-syntax.md @@ -1746,7 +1746,7 @@ Learn more about the `FormsModule` and `ngModel` in the Here's how to import the `FormsModule` to make `[(ngModel)]` available. - + @@ -2670,4 +2670,4 @@ It works perfectly with long property paths such as `a?.b?.c?.d`. ## Summary You've completed this survey of template syntax. -Now it's time to put that knowledge to work on your own components and directives. \ No newline at end of file +Now it's time to put that knowledge to work on your own components and directives. diff --git a/aio/content/tutorial/toh-pt5.md b/aio/content/tutorial/toh-pt5.md index f35fe92508..9ff4c57883 100644 --- a/aio/content/tutorial/toh-pt5.md +++ b/aio/content/tutorial/toh-pt5.md @@ -669,7 +669,7 @@ is revised and ready to be navigated to. Here's what the `HeroDetailComponent` looks like now: - + @@ -936,7 +936,7 @@ the current template exhibits a "master/detail" style with the list of heroes at the top and details of the selected hero below. - + @@ -1200,7 +1200,7 @@ These correspond to the full set of master styles that you installed earlier dur Here's an excerpt: - + diff --git a/aio/content/tutorial/toh-pt6.md b/aio/content/tutorial/toh-pt6.md index 20c58c8988..b6d7bc878b 100644 --- a/aio/content/tutorial/toh-pt6.md +++ b/aio/content/tutorial/toh-pt6.md @@ -144,7 +144,7 @@ section of the [HTTP Client](guide/server-communication#in-mem-web-api) page. In the current `HeroService` implementation, a Promise resolved with mock heroes is returned. - + diff --git a/aio/tools/transforms/angular.io-package/index.js b/aio/tools/transforms/angular.io-package/index.js index bd1b9c6704..68c598f16b 100644 --- a/aio/tools/transforms/angular.io-package/index.js +++ b/aio/tools/transforms/angular.io-package/index.js @@ -123,9 +123,7 @@ module.exports = exclude: [ '**/*plnkr.no-link.html', '**/node_modules/**', - // _boilerplate files - '**/_boilerplate/**', - '**/*/src/styles.css', + // boilerplate files '**/*/src/systemjs-angular-loader.js', '**/*/src/systemjs.config.js', '**/*/src/tsconfig.json',