fix(ivy): use `window.ng` instead of `window.ngDev` for debug tooling (#26951)

PR Close #26951
This commit is contained in:
Matias Niemelä 2018-11-05 13:06:42 -08:00 committed by Kara Erickson
parent 3ca1a57f81
commit 931a363612
2 changed files with 4 additions and 3 deletions

View File

@ -228,7 +228,8 @@ export {
} from './render/api';
export {
publishGlobalUtil as ɵpublishGlobalUtil
publishGlobalUtil as ɵpublishGlobalUtil,
publishDefaultGlobalUtils as ɵpublishDefaultGlobalUtils
} from './render3/publish_global_util';
export {
SWITCH_INJECTOR_FACTORY__POST_R3__ as ɵSWITCH_INJECTOR_FACTORY__POST_R3__,

View File

@ -22,9 +22,9 @@ import {getComponent, getDirectives, getHostComponent, getInjector, getRootCompo
/**
* This value reflects the property on the window where the dev
* tools are patched (window.ngDev).
* tools are patched (window.ng).
* */
export const GLOBAL_PUBLISH_EXPANDO_KEY = 'ngDev';
export const GLOBAL_PUBLISH_EXPANDO_KEY = 'ng';
/*
* Publishes a collection of default debug tools onto `window._ng_`.