mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(tabs): add module dependency on MdCommonModule (#5304)
MdTabsModule **implicitly** depended on MdCommonModule Specifically, for rtl animations. see http://plnkr.co/edit/fBLGThvy7C0G666p56xn?p=preview.
This commit is contained in:
committed by
Jeremy Elbourn
parent
f3f9f43afa
commit
738b6be98b
@@ -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';
|
||||
@@ -26,6 +27,7 @@ import {ScrollDispatchModule} from '../core/overlay/scroll/index';
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule,
|
||||
MdCommonModule,
|
||||
PortalModule,
|
||||
MdRippleModule,
|
||||
ObserveContentModule,
|
||||
@@ -33,6 +35,7 @@ import {ScrollDispatchModule} from '../core/overlay/scroll/index';
|
||||
],
|
||||
// Don't export all components because some are only to be used internally.
|
||||
exports: [
|
||||
MdCommonModule,
|
||||
MdTabGroup,
|
||||
MdTabLabel,
|
||||
MdTab,
|
||||
|
||||
Reference in New Issue
Block a user