chore: fix documentation end of file consistency (#4119)

This commit is contained in:
Stephen Cavaliere 2017-02-13 07:41:05 -05:00 committed by Filipe Silva
parent 8b3e30010a
commit d22e9ae737
13 changed files with 22 additions and 23 deletions

View File

@ -290,7 +290,7 @@ Example ngConfig model for saved docker command state (per project):
isImageDeploy: true,
serviceName: 'ngapp'
}
}
}
}
}
```

View File

@ -90,7 +90,7 @@ For example, assuming the following globals/locals:
```js
// Global
{
{
"key1": {
"key2": {
"value": 0,
@ -100,7 +100,7 @@ For example, assuming the following globals/locals:
}
// Local
{
{
"key1": {
"key2": {
"value2": 2,
@ -136,4 +136,3 @@ console.log(config.local.key1.key2.value4); // 99, the global value.
config.save(); // Commits if there's a change to global and/or local.
```

View File

@ -77,7 +77,7 @@ The `install` task will perform the following subtasks:
1. **Detect if a package named `angular/cli-wrapper-${libName}` exist in the angular
organization.** If so, run the steps above as if ng install angular/angular-${libName}. If
this install fails, ignore the failure.
These packages can be used to wrap libraries that we want to support but can't update
easily, like Jasmine or LESS.
1. **Install typings.** See the [Typings](#typings) section.

View File

@ -13,4 +13,4 @@
- [interface](interface)
- [module](module)
- [pipe](pipe)
- [service](service)
- [service](service)

View File

@ -6,4 +6,4 @@
`ng generate class [name]` generates a class
## Options
`--spec` specifies if a spec file is generated
`--spec` specifies if a spec file is generated

View File

@ -26,4 +26,4 @@ Default applications are created in a directory of the same name, with an initia
`--inline-style` (`is`) flag to indicate if the app component should have an inline style
`--inline-template` (`it`) flag to indicate if the app component should have an inline template
`--inline-template` (`it`) flag to indicate if the app component should have an inline template

View File

@ -29,4 +29,4 @@ Or set the default style on an existing project:
```bash
ng set defaults.styleExt scss
```
```

View File

@ -32,4 +32,4 @@ Finally add the Bootstrap CSS to the `apps[0].styles` array:
```
Restart `ng serve` if you're running it, and Bootstrap 4 should be working on
your app.
your app.

View File

@ -1,6 +1,6 @@
# Include [Angular Material](https://material.angular.io)
[Angular Material](https://material.angular.io) is a set of Material Design components for Angular apps.
[Angular Material](https://material.angular.io) is a set of Material Design components for Angular apps.
This guide will walk you through adding material design to your Angular CLI project and configuring it to use Angular Material.
Create a new project and navigate into the project...
@ -16,10 +16,10 @@ npm install --save @angular/material
Import the Angular Material NgModule into your app module...
```javascript
//in src/app/app.module.ts
//in src/app/app.module.ts
import { MaterialModule } from '@angular/material';
// other imports
// other imports
@NgModule({
imports: [
@ -49,15 +49,15 @@ To verify Angular Material has been set up correctly, change `src/app/app.compon
</h1>
<button md-raised-button>
Angular Material works!
Angular Material works!
<md-icon>done</md-icon>
</button>
```
After saving this file, return to the browser to see the Angular Material styled button.
### More Info
### More Info
- [Getting Started](https://material.angular.io/guide/getting-started)
- [Theming Angular Material](https://material.angular.io/guide/theming)
- [Theming your own components](https://material.angular.io/guide/theming-your-components)
- [Theming your own components](https://material.angular.io/guide/theming-your-components)

View File

@ -3,7 +3,7 @@
# Include AngularFire
[Firebase](https://firebase.google.com/) is a mobile and web application platform with tools and infrastructure designed
to help developers build high-quality apps. [AngularFire2](https://github.com/angular/angularfire2) is the official
to help developers build high-quality apps. [AngularFire2](https://github.com/angular/angularfire2) is the official
Angular library to use Firebase in your apps.
#### Create new project
@ -46,7 +46,7 @@ Firebase offers an easy way to get this, by showing a JavaScript object that you
#### Configure the Environment
These configuration details need to be stored in our app, one way to do this using the `environment`. This allows you to
These configuration details need to be stored in our app, one way to do this using the `environment`. This allows you to
use different credentials in development and production.
Open `src/environments/environment.ts` and add a key `firebase` to the exported constant:
@ -76,7 +76,7 @@ import { AngularFireModule } from 'angularfire2';
import { environment } from '../environments/environment';
```
To initialize AngularFire add the following line to the `imports` array inside the `NgModule`:
To initialize AngularFire add the following line to the `imports` array inside the `NgModule`:
```typescript
@NgModule({
@ -90,4 +90,4 @@ To initialize AngularFire add the following line to the `imports` array inside t
})
```
#### Congratulations, you can now use Firebase in your Angular app!
#### Congratulations, you can now use Firebase in your Angular app!

View File

@ -25,4 +25,4 @@ and then we edit the `package.json` file's start script to be
"start": "ng serve --proxy-config proxy.conf.json",
```
now run it with `npm start`
now run it with `npm start`

View File

@ -27,4 +27,4 @@ manually adding typings for it:
typelessPackage.method();
```
Done. Note: you might need or find useful to define more typings for the library that you're trying to use.
Done. Note: you might need or find useful to define more typings for the library that you're trying to use.

View File

@ -28,4 +28,4 @@ You can run tests with coverage via `--code-coverage`. The coverage report will
`--reporters` list of reporters to use
`--build` flag to build prior to running tests
`--build` flag to build prior to running tests