Skip to content

Commit a61e2e9

Browse files
PatrickJSjelbourn
authored andcommitted
fix(MdSidenavLayout): Remove deprecated @view
@view was removed in beta.11 angular/angular@f9fb72f Closes #213
1 parent 9155856 commit a61e2e9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/components/sidenav/sidenav.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111
Output,
1212
QueryList,
1313
Type,
14-
View,
1514
ChangeDetectionStrategy
1615
} from 'angular2/core';
1716
import {PromiseWrapper, ObservableWrapper, EventEmitter} from 'angular2/src/facade/async';
@@ -245,8 +244,6 @@ export class MdSidenav {
245244
// Do not use ChangeDetectionStrategy.OnPush. It does not work for this component because
246245
// technically it is a sibling of MdSidenav (on the content tree) and isn't updated when MdSidenav
247246
// changes its state.
248-
})
249-
@View({
250247
directives: [MdSidenav],
251248
templateUrl: './components/sidenav/sidenav.html',
252249
styleUrls: [

0 commit comments

Comments
 (0)