From 7201d44451f6c67eac2b86eca3cbfafde14035d6 Mon Sep 17 00:00:00 2001 From: vikerman Date: Tue, 11 Sep 2018 11:18:24 -0700 Subject: [PATCH] fix(onProperty): user quoted access for __Zone_ignore_on_properties (#1134) Avoid closure renaming while accessing the global symbol. --- lib/browser/property-descriptor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/browser/property-descriptor.ts b/lib/browser/property-descriptor.ts index 848204385..60500d2d7 100644 --- a/lib/browser/property-descriptor.ts +++ b/lib/browser/property-descriptor.ts @@ -272,7 +272,7 @@ export function propertyDescriptorPatch(api: _ZonePrivate, _global: any) { const supportsWebSocket = typeof WebSocket !== 'undefined'; if (canPatchViaPropertyDescriptor()) { - const ignoreProperties: IgnoreProperty[] = _global.__Zone_ignore_on_properties; + const ignoreProperties: IgnoreProperty[] = _global['__Zone_ignore_on_properties']; // for browsers that we can patch the descriptor: Chrome & Firefox if (isBrowser) { const internalWindow: any = window;