File tree Expand file tree Collapse file tree 3 files changed +0
-32
lines changed
goldens/public-api/common Expand file tree Collapse file tree 3 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -345,12 +345,6 @@ export function isPlatformBrowser(platformId: Object): boolean;
345345// @public
346346export function isPlatformServer(platformId : Object ): boolean ;
347347
348- // @public @deprecated
349- export function isPlatformWorkerApp(platformId : Object ): boolean ;
350-
351- // @public @deprecated
352- export function isPlatformWorkerUi(platformId : Object ): boolean ;
353-
354348// @public
355349export class JsonPipe implements PipeTransform {
356350 // (undocumented)
Original file line number Diff line number Diff line change @@ -89,12 +89,8 @@ export {
8989export {
9090 PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID ,
9191 PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID ,
92- PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID ,
93- PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID ,
9492 isPlatformBrowser ,
9593 isPlatformServer ,
96- isPlatformWorkerApp ,
97- isPlatformWorkerUi ,
9894} from './platform_id' ;
9995export { VERSION } from './version' ;
10096export { ViewportScroller , NullViewportScroller as ɵNullViewportScroller } from './viewport_scroller' ;
Original file line number Diff line number Diff line change 88
99export const PLATFORM_BROWSER_ID = 'browser' ;
1010export const PLATFORM_SERVER_ID = 'server' ;
11- export const PLATFORM_WORKER_APP_ID = 'browserWorkerApp' ;
12- export const PLATFORM_WORKER_UI_ID = 'browserWorkerUi' ;
1311
1412/**
1513 * Returns whether a platform id represents a browser platform.
@@ -26,23 +24,3 @@ export function isPlatformBrowser(platformId: Object): boolean {
2624export function isPlatformServer ( platformId : Object ) : boolean {
2725 return platformId === PLATFORM_SERVER_ID ;
2826}
29-
30- /**
31- * Returns whether a platform id represents a web worker app platform.
32- * @publicApi
33- * @deprecated This function serves no purpose since the removal of the Webworker platform. It will
34- * always return `false`.
35- */
36- export function isPlatformWorkerApp ( platformId : Object ) : boolean {
37- return platformId === PLATFORM_WORKER_APP_ID ;
38- }
39-
40- /**
41- * Returns whether a platform id represents a web worker UI platform.
42- * @publicApi
43- * @deprecated This function serves no purpose since the removal of the Webworker platform. It will
44- * always return `false`.
45- */
46- export function isPlatformWorkerUi ( platformId : Object ) : boolean {
47- return platformId === PLATFORM_WORKER_UI_ID ;
48- }
You can’t perform that action at this time.
0 commit comments