Skip to content

Commit

Permalink
fix(tabs): add module dependency on MdCommonModule (#5304)
Browse files Browse the repository at this point in the history
MdTabsModule **implicitly** depended on MdCommonModule
Specifically, for rtl animations. see http://plnkr.co/edit/fBLGThvy7C0G666p56xn?p=preview.
  • Loading branch information
amitport authored and jelbourn committed Jul 11, 2017
1 parent f3f9f43 commit 738b6be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/tabs/index.ts
Expand Up @@ -8,6 +8,7 @@

import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {MdCommonModule} from '../core';
import {ObserveContentModule} from '@angular/cdk';
import {PortalModule} from '../core';
import {MdRippleModule} from '../core/ripple/index';
Expand All @@ -26,13 +27,15 @@ import {ScrollDispatchModule} from '../core/overlay/scroll/index';
@NgModule({
imports: [
CommonModule,
MdCommonModule,
PortalModule,
MdRippleModule,
ObserveContentModule,
ScrollDispatchModule,
],
// Don't export all components because some are only to be used internally.
exports: [
MdCommonModule,
MdTabGroup,
MdTabLabel,
MdTab,
Expand Down

0 comments on commit 738b6be

Please sign in to comment.