Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit 7201d44

Browse files
vikermanmhevery
authored andcommitted
fix(onProperty): user quoted access for __Zone_ignore_on_properties (#1134)
Avoid closure renaming while accessing the global symbol.
1 parent 427705f commit 7201d44

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/browser/property-descriptor.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export function propertyDescriptorPatch(api: _ZonePrivate, _global: any) {
272272

273273
constsupportsWebSocket=typeofWebSocket!=='undefined';
274274
if(canPatchViaPropertyDescriptor()){
275-
constignoreProperties: IgnoreProperty[]=_global.__Zone_ignore_on_properties;
275+
constignoreProperties: IgnoreProperty[]=_global['__Zone_ignore_on_properties'];
276276
// for browsers that we can patch the descriptor: Chrome & Firefox
277277
if(isBrowser){
278278
constinternalWindow: any=window;

0 commit comments

Comments
 (0)