Skip to content

Commit

Permalink
fix(): remove BrowserAnimationsModule import
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadeed committed Sep 11, 2017
1 parent 6ce8d87 commit 1907cf8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 29 deletions.
23 changes: 0 additions & 23 deletions src/tooltips.child.module.ts

This file was deleted.

24 changes: 18 additions & 6 deletions src/tooltips.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
import { childArgs } from './tooltips.child.module';
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { IonicModule } from 'ionic-angular';
import { Tooltip } from './tooltip.directive';
import { TooltipBox } from './tooltip-box.component';

const rootArgs: NgModule = Object.assign({}, childArgs);
rootArgs.imports.push(BrowserAnimationsModule);

@NgModule(rootArgs)
@NgModule({
entryComponents: [
TooltipBox
],
declarations: [
Tooltip,
TooltipBox,
],
imports: [
IonicModule
],
exports: [
Tooltip
]
})
export class TooltipsModule {}

0 comments on commit 1907cf8

Please sign in to comment.