From f640941e1dfca78b25637938e45645869e2b7d9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matias=20Niemel=C3=A4?= Date: Thu, 31 Jan 2019 12:51:35 -0800 Subject: [PATCH] docs(ivy): update global utils documentation references to window.ng --- packages/core/src/render3/global_utils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/render3/global_utils.ts b/packages/core/src/render3/global_utils.ts index e52ed79ccd..d2ff76ccba 100644 --- a/packages/core/src/render3/global_utils.ts +++ b/packages/core/src/render3/global_utils.ts @@ -30,13 +30,13 @@ import {getComponent, getContext, getDirectives, getHostElement, getInjector, ge * */ export const GLOBAL_PUBLISH_EXPANDO_KEY = 'ng'; -/* - * Publishes a collection of default debug tools onto `window._ng_`. +let _published = false; +/** + * Publishes a collection of default debug tools onto`window.ng`. * * These functions are available globally when Angular is in development * mode and are automatically stripped away from prod mode is on. */ -let _published = false; export function publishDefaultGlobalUtils() { if (!_published) { _published = true; @@ -58,7 +58,7 @@ export declare type GlobalDevModeContainer = { }; /** - * Publishes the given function to `window.ngDevMode` so that it can be + * Publishes the given function to `window.ng` so that it can be * used from the browser console when an application is not in production. */ export function publishGlobalUtil(name: string, fn: Function): void {