docs(CORE_DIRECTIVES): documentation update after renames

Closes #3791
This commit is contained in:
Pawel Kozlowski 2015-08-22 17:44:00 +02:00
parent c4044102d6
commit 5ee9630be1
1 changed files with 5 additions and 5 deletions

View File

@ -27,7 +27,7 @@ export * from './src/directives/ng_switch';
* instead of writing:
*
* ```
* import {If, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/angular2';
* import {NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault} from 'angular2/angular2';
* import {OtherDirective} from 'myDirectives';
*
* @Component({
@ -35,16 +35,16 @@ export * from './src/directives/ng_switch';
* })
* @View({
* templateUrl: 'myComponent.html',
* directives: [If, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, OtherDirective]
* directives: [NgClass, NgIf, NgFor, NgSwitch, NgSwitchWhen, NgSwitchDefault, OtherDirective]
* })
* export class MyComponent {
* ...
* }
* ```
* one could enumerate all the core directives at once:
* one could import all the core directives at once:
*
* ```
* import {coreDirectives} from 'angular2/angular2';
* import {CORE_DIRECTIVES} from 'angular2/angular2';
* import {OtherDirective} from 'myDirectives';
*
* @Component({
@ -52,7 +52,7 @@ export * from './src/directives/ng_switch';
* })
* @View({
* templateUrl: 'myComponent.html',
* directives: [coreDirectives, OtherDirective]
* directives: [CORE_DIRECTIVES, OtherDirective]
* })
* export class MyComponent {
* ...