Skip to content

Commit

Permalink
fix(MdSidenavLayout): Remove deprecated @view
Browse files Browse the repository at this point in the history
@view was removed in beta.11
angular/angular@f9fb72f

Closes angular#213
  • Loading branch information
PatrickJS authored and jelbourn committed Mar 20, 2016
1 parent 9155856 commit a61e2e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/sidenav/sidenav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
Output,
QueryList,
Type,
View,
ChangeDetectionStrategy
} from 'angular2/core';
import {PromiseWrapper, ObservableWrapper, EventEmitter} from 'angular2/src/facade/async';
Expand Down Expand Up @@ -245,8 +244,6 @@ export class MdSidenav {
// Do not use ChangeDetectionStrategy.OnPush. It does not work for this component because
// technically it is a sibling of MdSidenav (on the content tree) and isn't updated when MdSidenav
// changes its state.
})
@View({
directives: [MdSidenav],
templateUrl: './components/sidenav/sidenav.html',
styleUrls: [
Expand Down

0 comments on commit a61e2e9

Please sign in to comment.