chore(calendar): remove explicit preserveWhitespaces setting (#10761)

This commit is contained in:
Rafael Santana
2018-04-11 14:39:55 -03:00
committed by tinayuangao
parent e85547aa45
commit 34fe17e87e
2 changed files with 5 additions and 5 deletions
-1
View File
@@ -40,7 +40,6 @@ import {MatYearView} from './year-view';
selector: 'mat-calendar-header',
templateUrl: 'calendar-header.html',
encapsulation: ViewEncapsulation.None,
preserveWhitespaces: false,
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class MatCalendarHeader<D> implements OnDestroy {
+5 -4
View File
@@ -95,11 +95,12 @@
],
"validate-decorators": [true, {
"Component": {
"encapsulation": "\\.None$",
"moduleId": "^module\\.id$",
"changeDetection": "\\.OnPush$",
"!host": "\\[class\\]",
"!preserveWhitespaces": ".*",
"!styles": ".*",
"!host": "\\[class\\]"
"changeDetection": "\\.OnPush$",
"encapsulation": "\\.None$",
"moduleId": "^module\\.id$"
},
"Directive": {
"!host": "\\[class\\]"