Skip to content

Commit

Permalink
fix(module:core,root): ensure compatibility to v4 (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
trotyl authored and vthinkxie committed Sep 6, 2017
1 parent 5f11664 commit 2b5c083
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/core/floater/floater.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
Optional,
SkipSelf
} from '@angular/core';
import { DOCUMENT } from '@angular/common';
import { DOCUMENT } from '@angular/platform-browser';
import { ComponentType } from '@angular/cdk';
import {
Floater
Expand Down
2 changes: 1 addition & 1 deletion src/components/root/nz-root.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
Inject,
Optional,
} from '@angular/core';
import { DOCUMENT } from '@angular/common';
import { DOCUMENT } from '@angular/platform-browser';
import { NZ_ROOT_CONFIG, NzRootConfig, createNzRootInitializer} from './nz-root-config';

@Component({
Expand Down
3 changes: 2 additions & 1 deletion src/components/root/nz-root.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { NgModule, OnDestroy, ComponentRef, ComponentFactoryResolver, Inject, Optional, Injector, APP_INITIALIZER } from '@angular/core';
import { CommonModule, DOCUMENT } from '@angular/common';
import { CommonModule } from '@angular/common';
import { DOCUMENT } from '@angular/platform-browser';
import { NzRootComponent } from './nz-root.component';
import { NzRootStyleComponent } from './nz-root-style.component';
import { NZ_ROOT_CONFIG, createNzRootInitializer } from './nz-root-config';
Expand Down

0 comments on commit 2b5c083

Please sign in to comment.