chore(table): remove dev warning (#5380)

This commit is contained in:
Andrew Seguin
2017-06-29 13:21:41 -07:00
committed by tinayuangao
parent 9fe62f9d93
commit e3a2f30e57
-7
View File
@@ -169,13 +169,6 @@ export class CdkTable<T> implements CollectionViewer {
elementRef: ElementRef,
renderer: Renderer2,
@Attribute('role') role: string) {
// Show the stability warning of the data-table only if it doesn't run inside of jasmine.
// This is just temporary and should reduce warnings when running the tests.
if (!(typeof window !== 'undefined' && window['jasmine'])) {
console.warn('The data table is still in active development ' +
'and should be considered unstable.');
}
if (!role) {
renderer.setAttribute(elementRef.nativeElement, 'role', 'grid');
}