Skip to content

Commit

Permalink
fix(common): do not reference deprecated classes in providers
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckjaz committed Feb 16, 2017
1 parent 9a6f3d6 commit bf0a395
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions modules/@angular/common/src/directives/ng_for_of.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,8 @@ export class NgForOfRow<T> {
*
* @stable
*/
@Directive({
selector: '[ngFor][ngForOf]',
providers: [{provide: forwardRef(() => NgFor), useExisting: forwardRef(() => NgForOf)}]
})
export class NgForOf<T> implements DoCheck,
OnChanges {
@Directive({selector: '[ngFor][ngForOf]'})
export class NgForOf<T> implements DoCheck, OnChanges {
@Input() ngForOf: NgIterable<T>;
@Input()
set ngForTrackBy(fn: TrackByFunction<T>) {
Expand Down

0 comments on commit bf0a395

Please sign in to comment.