fix(MdSidenavLayout): Remove deprecated @View

@View was removed in beta.11
https://github.com/angular/angular/commit/f9fb72fb0e9bcbda7aeebbf8321ce5d70d78ecee

Closes #213
This commit is contained in:
PatrickJS
2016-03-20 02:58:04 -07:00
committed by Jeremy Elbourn
parent 9155856214
commit a61e2e90eb
-3
View File
@@ -11,7 +11,6 @@ import {
Output,
QueryList,
Type,
View,
ChangeDetectionStrategy
} from 'angular2/core';
import {PromiseWrapper, ObservableWrapper, EventEmitter} from 'angular2/src/facade/async';
@@ -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: [