fix(core): remove NgZone_ and use NgZone instead
This commit is contained in:
@ -34,7 +34,6 @@ import {
|
||||
} from './constants';
|
||||
import {Ng2ComponentFacade} from './ng2_facade';
|
||||
import {ExportedNg1Component} from './ng1_facade';
|
||||
import {NgZone_} from "angular2/src/core/zone/ng_zone";
|
||||
|
||||
var moduleCount: number = 0;
|
||||
|
||||
@ -116,7 +115,7 @@ export class UpgradeModule {
|
||||
'$rootScope',
|
||||
(injector: angular.auto.IInjectorService, rootScope: angular.IRootScopeService) => {
|
||||
ng1Injector = injector;
|
||||
(<NgZone_>ngZone).overrideOnTurnDone(() => rootScope.$apply());
|
||||
ngZone.overrideOnTurnDone(() => rootScope.$apply());
|
||||
ExportedNg1Component.resolve(this.exportedNg1Components, injector);
|
||||
}
|
||||
]);
|
||||
|
Reference in New Issue
Block a user