Skip to content

Commit

Permalink
feat(CORE_DIRECTIVES): add NgStyle to CORE_DIRECTIVES
Browse files Browse the repository at this point in the history
Fixes #4096

Closes #4161
  • Loading branch information
pkozlowski-opensource committed Sep 15, 2015
1 parent a15b679 commit 5f15363
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/angular2/src/core/directives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {NgClass} from './directives/ng_class';
import {NgFor} from './directives/ng_for';
import {NgIf} from './directives/ng_if';
import {NgNonBindable} from './directives/ng_non_bindable';
import {NgStyle} from './directives/ng_style';
import {NgSwitch, NgSwitchWhen, NgSwitchDefault} from './directives/ng_switch';

export * from './directives/ng_class';
Expand Down Expand Up @@ -60,5 +61,5 @@ export * from './directives/ng_switch';
* ```
*
*/
export const CORE_DIRECTIVES: Type[] =
CONST_EXPR([NgClass, NgFor, NgIf, NgNonBindable, NgSwitch, NgSwitchWhen, NgSwitchDefault]);
export const CORE_DIRECTIVES: Type[] = CONST_EXPR(
[NgClass, NgFor, NgIf, NgNonBindable, NgStyle, NgSwitch, NgSwitchWhen, NgSwitchDefault]);

0 comments on commit 5f15363

Please sign in to comment.