mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
9155856214
commit
a61e2e90eb
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user