diff --git a/modules/@angular/core/src/core_private_export.ts b/modules/@angular/core/src/core_private_export.ts index 4632f50ef7..b63533cb39 100644 --- a/modules/@angular/core/src/core_private_export.ts +++ b/modules/@angular/core/src/core_private_export.ts @@ -14,6 +14,7 @@ import {AnimationSequencePlayer as AnimationSequencePlayer_} from './animation/a import * as animationUtils from './animation/animation_style_util'; import {AnimationStyles as AnimationStyles_} from './animation/animation_styles'; import {AnimationTransition} from './animation/animation_transition'; +import * as application_tokens from './application_tokens'; import * as change_detection_util from './change_detection/change_detection_util'; import * as constants from './change_detection/constants'; import * as console from './console'; @@ -96,6 +97,7 @@ export var __core_private__: { clearStyles: typeof animationUtils.clearStyles, renderStyles: typeof animationUtils.renderStyles, collectAndResolveStyles: typeof animationUtils.collectAndResolveStyles, + APP_ID_RANDOM_PROVIDER: typeof application_tokens.APP_ID_RANDOM_PROVIDER, AnimationStyles: typeof AnimationStyles_, _AnimationStyles?: AnimationStyles_, ANY_STATE: typeof ANY_STATE_, DEFAULT_STATE: typeof DEFAULT_STATE_, @@ -147,6 +149,7 @@ export var __core_private__: { clearStyles: animationUtils.clearStyles, renderStyles: animationUtils.renderStyles, collectAndResolveStyles: animationUtils.collectAndResolveStyles, + APP_ID_RANDOM_PROVIDER: application_tokens.APP_ID_RANDOM_PROVIDER, AnimationStyles: AnimationStyles_, ANY_STATE: ANY_STATE_, DEFAULT_STATE: DEFAULT_STATE_, diff --git a/modules/@angular/platform-webworker/src/private_import_core.ts b/modules/@angular/platform-webworker/src/private_import_core.ts index f2512b86fb..83d23a462f 100644 --- a/modules/@angular/platform-webworker/src/private_import_core.ts +++ b/modules/@angular/platform-webworker/src/private_import_core.ts @@ -35,3 +35,4 @@ export var balanceAnimationKeyframes: typeof r.balanceAnimationKeyframes = r.balanceAnimationKeyframes; export var clearStyles: typeof r.clearStyles = r.clearStyles; export var collectAndResolveStyles: typeof r.collectAndResolveStyles = r.collectAndResolveStyles; +export var APP_ID_RANDOM_PROVIDER: typeof r.APP_ID_RANDOM_PROVIDER = r.APP_ID_RANDOM_PROVIDER; diff --git a/modules/@angular/platform-webworker/src/worker_render.ts b/modules/@angular/platform-webworker/src/worker_render.ts index a3e7117f96..e0f3dc07eb 100644 --- a/modules/@angular/platform-webworker/src/worker_render.ts +++ b/modules/@angular/platform-webworker/src/worker_render.ts @@ -9,6 +9,7 @@ import {ErrorHandler, Injectable, Injector, NgZone, OpaqueToken, PLATFORM_INITIALIZER, PlatformRef, Provider, RootRenderer, Testability, createPlatformFactory, isDevMode, platformCore} from '@angular/core'; import {AnimationDriver, DOCUMENT, EVENT_MANAGER_PLUGINS, EventManager, HAMMER_GESTURE_CONFIG, HammerGestureConfig} from '@angular/platform-browser'; +import {APP_ID_RANDOM_PROVIDER} from './private_import_core'; import {BROWSER_SANITIZATION_PROVIDERS, BrowserDomAdapter, BrowserGetTestability, DomEventsPlugin, DomRootRenderer, DomRootRenderer_, DomSharedStylesHost, HammerGesturesPlugin, KeyEventsPlugin, SharedStylesHost, getDOM} from './private_import_platform-browser'; import {ON_WEB_WORKER} from './web_workers/shared/api'; import {ClientMessageBrokerFactory, ClientMessageBrokerFactory_} from './web_workers/shared/client_message_broker'; @@ -67,6 +68,7 @@ export const _WORKER_UI_PLATFORM_PROVIDERS: Provider[] = [ {provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true}, {provide: EVENT_MANAGER_PLUGINS, useClass: HammerGesturesPlugin, multi: true}, {provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig}, + APP_ID_RANDOM_PROVIDER, {provide: DomRootRenderer, useClass: DomRootRenderer_}, {provide: RootRenderer, useExisting: DomRootRenderer}, {provide: SharedStylesHost, useExisting: DomSharedStylesHost},