docs: misc fixes.

docs(common_module): Fix macro format
docs(number_pipe): Add missing period sign
docs(date_pipe): Fix suffix consistency
docs(date_pipe): Fix missing quote
docs(number_pipe): Fix incorrect article

Looks like the word "Polyfill" does not start with a vowel pronunciation.

docs(location_strategy): Fix code format

Add missing \`\`\` at start.

docs(i18n_plural_pipe): Fix code format
docs(location): Add missing period sign
refactor(ngSwitch): fix typo on parameter
docs(di): Add missing quote
docs(compiler): Fix typo
docs(compiler): Add missing period sign
docs(directives): Fix description for styles parameter
docs(location_strategy): Add code language

Revert for misunderstanding.
This commit is contained in:
Trotyl Yu
2016-09-05 21:37:21 +08:00
committed by Martin Probst
parent 645108f25b
commit dd03bf12e1
9 changed files with 15 additions and 14 deletions

View File

@ -68,14 +68,14 @@ export class Compiler {
compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> { throw _throwError(); }
/**
* Same as {@link compileModuleSync} put also creates ComponentFactories for all components.
* Same as {@link compileModuleSync} but also creates ComponentFactories for all components.
*/
compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {
throw _throwError();
}
/**
* Same as {@link compileModuleAsync} put also creates ComponentFactories for all components.
* Same as {@link compileModuleAsync} but also creates ComponentFactories for all components.
*/
compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):
Promise<ModuleWithComponentFactories<T>> {
@ -83,7 +83,7 @@ export class Compiler {
}
/**
* Clears all caches
* Clears all caches.
*/
clearCache(): void {}

View File

@ -35,7 +35,7 @@ import {Type} from '../type';
* // user code
* let routes = [
* {path: '/root', component: RootComp},
* {path: /teams', component: TeamsComp}
* {path: '/teams', component: TeamsComp}
* ];
*
* @NgModule({

View File

@ -883,7 +883,7 @@ export class ComponentMetadata extends DirectiveMetadata implements ComponentMet
styleUrls: string[];
/**
* Specifies an inline stylesheet for an Angular component.
* Specifies inline stylesheets for an Angular component.
*/
styles: string[];