Skip to content

Commit

Permalink
Remove BrowserAnimationsModule from Material Design framework.
Browse files Browse the repository at this point in the history
  • Loading branch information
dschnelldavis committed Nov 15, 2017
1 parent b5e7e50 commit a24ce69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/demo/app/demo.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FlexLayoutModule } from '@angular/flex-layout';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { FlexLayoutModule } from '@angular/flex-layout';
import {
Expand Down Expand Up @@ -30,14 +29,11 @@ import { MATERIAL_FRAMEWORK_COMPONENTS } from './index';

@NgModule({
imports: [
CommonModule, BrowserAnimationsModule, FormsModule, ReactiveFormsModule,
FlexLayoutModule, ...ANGULAR_MATERIAL_MODULES, WidgetLibraryModule
CommonModule, FormsModule, ReactiveFormsModule, FlexLayoutModule,
...ANGULAR_MATERIAL_MODULES, WidgetLibraryModule
],
declarations: [ ...MATERIAL_FRAMEWORK_COMPONENTS ],
exports: [
...MATERIAL_FRAMEWORK_COMPONENTS, ...ANGULAR_MATERIAL_MODULES,
BrowserAnimationsModule, FlexLayoutModule
],
exports: [ ...MATERIAL_FRAMEWORK_COMPONENTS ],
entryComponents: [ ...MATERIAL_FRAMEWORK_COMPONENTS ],
providers: [ JsonSchemaFormService ]
})
Expand Down

0 comments on commit a24ce69

Please sign in to comment.