Skip to content

Commit e3a2f30

Browse files
andrewseguintinayuangao
authored andcommitted
chore(table): remove dev warning (#5380)
1 parent 9fe62f9 commit e3a2f30

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/lib/core/data-table/data-table.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -169,13 +169,6 @@ export class CdkTable<T> implements CollectionViewer {
169169
elementRef: ElementRef,
170170
renderer: Renderer2,
171171
@Attribute('role') role: string) {
172-
// Show the stability warning of the data-table only if it doesn't run inside of jasmine.
173-
// This is just temporary and should reduce warnings when running the tests.
174-
if (!(typeof window !== 'undefined' && window['jasmine'])) {
175-
console.warn('The data table is still in active development ' +
176-
'and should be considered unstable.');
177-
}
178-
179172
if (!role) {
180173
renderer.setAttribute(elementRef.nativeElement, 'role', 'grid');
181174
}

0 commit comments

Comments
 (0)